Base: Only do a boot/shutdown smoke-test for aarch64 for CI testing

Instead of managing a large list of tests to skip as we break aarch64,
simply don't run any userspace tests. We need to keep a smoke test going
so that we don't break aarch64 boot with new Kernel changes and new
drivers.
This commit is contained in:
Andrew Kaster 2023-10-16 15:56:24 -06:00 committed by Andrew Kaster
parent 91816c15f8
commit 424eca24ba

View file

@ -4,19 +4,16 @@
echo
echo "==== Running Tests on SerenityOS ===="
export LLVM_PROFILE_FILE="$HOME/profiles/%p-profile.profraw"
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)\$")
if [ "$(uname -m)" = "AArch64" ] && [ "$1" != "--force" ] {
fail_count=0
}
else {
export LLVM_PROFILE_FILE="$HOME/profiles/%p-profile.profraw"
run-tests --show-progress=false --unlink-coredumps
fail_count=$?
unset LLVM_PROFILE_FILE
}
echo "Skip args is" $skip_args
run-tests $skip_args --show-progress=false --unlink-coredumps
fail_count=$?
unset LLVM_PROFILE_FILE
echo "Failed: $fail_count" > ./test-results.log