]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: skip TEST-36 on s390x and powerpc
authorFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 4 Dec 2023 09:51:35 +0000 (10:51 +0100)
committerFrantisek Sumsal <frantisek@sumsal.cz>
Mon, 4 Dec 2023 10:12:51 +0000 (11:12 +0100)
As QEMU there doesn't support NUMA nodes. Also, drop the now unneeded
deny-list file for Ubuntu CI.

test/TEST-36-NUMAPOLICY/deny-list-ubuntu-ci-s390x [deleted file]
test/TEST-36-NUMAPOLICY/test.sh

diff --git a/test/TEST-36-NUMAPOLICY/deny-list-ubuntu-ci-s390x b/test/TEST-36-NUMAPOLICY/deny-list-ubuntu-ci-s390x
deleted file mode 100644 (file)
index e69de29..0000000
index 5c39b7c6d8b9a28b52a4eab2d07ff02e18a729c0..9548ebb9339e34f6caefe9dc70a517e6812054d6 100755 (executable)
@@ -14,4 +14,9 @@ else
     QEMU_OPTIONS+=" -numa node,nodeid=0"
 fi
 
+if [[ "$(uname -m)" =~ ^(s390x|ppc)$ ]]; then
+    echo "QEMU doesn't support NUMA nodes on $(uname -m), skipping the test"
+    exit 0
+fi
+
 do_test "$@"