summaryrefslogtreecommitdiff
path: root/test/system/helpers.bash
diff options
context:
space:
mode:
authorLokesh Mandvekar <lsm5@fedoraproject.org>2022-07-27 10:46:24 -0400
committerLokesh Mandvekar <lsm5@fedoraproject.org>2022-07-27 15:27:52 -0400
commitda98c887785cd7ec3dff34418c4ca6ce1640e2dc (patch)
tree704efddad5d5dee7ba5695212ec57ee32da22393 /test/system/helpers.bash
parent432348e8e4e95d32bb26ceca4d467ff9f726dd89 (diff)
downloadpodman-da98c887785cd7ec3dff34418c4ca6ce1640e2dc.tar.gz
podman-da98c887785cd7ec3dff34418c4ca6ce1640e2dc.tar.bz2
podman-da98c887785cd7ec3dff34418c4ca6ce1640e2dc.zip
Cirrus: enable Fedora 36 aarch64 tasks on EC2
new file: test/e2e/config_arm64.go Tests that fail on aarch64 have been skipped with `skip_if_aarch64`. Co-authored-by: Chris Evich <cevich@redhat.com> Co-authored-by: Ed Santiago <santiago@redhat.com> Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
Diffstat (limited to 'test/system/helpers.bash')
-rw-r--r--test/system/helpers.bash10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/system/helpers.bash b/test/system/helpers.bash
index b9da2d89a..19bc6547c 100644
--- a/test/system/helpers.bash
+++ b/test/system/helpers.bash
@@ -379,6 +379,10 @@ function is_netavark() {
return 1
}
+function is_aarch64() {
+ [ "$(uname -m)" == "aarch64" ]
+}
+
# Returns the OCI runtime *basename* (typically crun or runc). Much as we'd
# love to cache this result, we probably shouldn't.
function podman_runtime() {
@@ -546,6 +550,12 @@ function skip_if_root_ubuntu {
fi
}
+function skip_if_aarch64 {
+ if is_aarch64; then
+ skip "${msg:-Cannot run this test on aarch64 systems}"
+ fi
+}
+
#########
# die # Abort with helpful message
#########