From: Thomas Weißschuh Date: Tue, 11 Feb 2025 11:03:52 +0000 (+0100) Subject: selftests/nolibc: split up architecture list in run-tests.sh X-Git-Tag: v6.15-rc1~226^2~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16681bea9a80080765c98b545ad74c17de2d513c;p=thirdparty%2Flinux.git selftests/nolibc: split up architecture list in run-tests.sh The list is getting overly long and any modifications introduce a lot of noise and are prone to conflicts. Split the string into a bash array and break that into multiple lines. Link: https://lore.kernel.org/r/20250211-nolibc-test-archs-v1-1-8e55aa3369cf@weissschuh.net Signed-off-by: Thomas Weißschuh --- diff --git a/tools/testing/selftests/nolibc/run-tests.sh b/tools/testing/selftests/nolibc/run-tests.sh index bc4e92b4f1b98..6db0111527688 100755 --- a/tools/testing/selftests/nolibc/run-tests.sh +++ b/tools/testing/selftests/nolibc/run-tests.sh @@ -17,7 +17,16 @@ perform_download=0 test_mode=system werror=1 llvm= -archs="i386 x86_64 arm64 arm mips32le mips32be ppc ppc64 ppc64le riscv32 riscv64 s390 loongarch" +all_archs=( + i386 x86_64 + arm64 arm + mips32le mips32be + ppc ppc64 ppc64le + riscv32 riscv64 + s390 + loongarch +) +archs="${all_archs[@]}" TEMP=$(getopt -o 'j:d:c:b:a:m:pelh' -n "$0" -- "$@")