Skip to content

Commit 16681be

Browse files
committed
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/[email protected] Signed-off-by: Thomas Weißschuh <[email protected]>
1 parent 665fa8d commit 16681be

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tools/testing/selftests/nolibc/run-tests.sh

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,16 @@ perform_download=0
1717
test_mode=system
1818
werror=1
1919
llvm=
20-
archs="i386 x86_64 arm64 arm mips32le mips32be ppc ppc64 ppc64le riscv32 riscv64 s390 loongarch"
20+
all_archs=(
21+
i386 x86_64
22+
arm64 arm
23+
mips32le mips32be
24+
ppc ppc64 ppc64le
25+
riscv32 riscv64
26+
s390
27+
loongarch
28+
)
29+
archs="${all_archs[@]}"
2130

2231
TEMP=$(getopt -o 'j:d:c:b:a:m:pelh' -n "$0" -- "$@")
2332

0 commit comments

Comments
 (0)