From 3f1cc7125c3bc328513eba49517795301849aeb0 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Wed, 7 Jun 2023 15:06:41 +0200 Subject: [PATCH] CI: Don't run known-failing tests on Aarch These might be the cause of CI failures. --- Base/home/anon/Tests/run-tests-and-shutdown.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Base/home/anon/Tests/run-tests-and-shutdown.sh b/Base/home/anon/Tests/run-tests-and-shutdown.sh index f31fe5f0388..127349eaed1 100755 --- a/Base/home/anon/Tests/run-tests-and-shutdown.sh +++ b/Base/home/anon/Tests/run-tests-and-shutdown.sh @@ -1,11 +1,19 @@ #!/bin/Shell +# shellcheck disable=all echo echo "==== Running Tests on SerenityOS ====" export LLVM_PROFILE_FILE="$HOME/profiles/%p-profile.profraw" -run-tests --show-progress=false --unlink-coredumps +echo "architecture is: >>$(uname -m)<<" +skip_args=() +if [ "$(uname -m)" = "AArch64" ] { + # FIXME: This is just temporary. Without this, Aarch64 breaks CI for everyone. + skip_args=("-e" "^/usr/Tests/(AK/TestSIMD|Kernel/TestMemoryDeviceMmap|Kernel/crash|LibC/TestAbort|LibC/TestLibCSetjmp|LibC/TestLibCTime|LibC/TestMath|LibGfx/TestDeltaE|LibGfx/TestICCProfile|LibTLS/TestTLSHandshake|LibVideo/TestVP9Decode|LibWeb/TestCSSIDSpeed|LibWeb/TestHTMLTokenizer|test-js/test-js|test-spreadsheet/test-spreadsheet|test-wasm/test-wasm)\$") +} +echo "Skip args is" $skip_args +run-tests $skip_args --show-progress=false --unlink-coredumps fail_count=$? unset LLVM_PROFILE_FILE