From 7a8a2490e58330907c7b67e53be210782c101ec3 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Wed, 4 Oct 2023 13:14:20 +0100 Subject: [PATCH] Tidy-up Signed-off-by: Dave Rodgman --- tests/scripts/all.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh index ace70d1a4..164c2e99f 100755 --- a/tests/scripts/all.sh +++ b/tests/scripts/all.sh @@ -3978,12 +3978,11 @@ build_test_config_combos() { target="t" clang_args="" for ((j = 0; j < ${len}; j++)); do - opt= if (((i >> j) & 1)); then opt=-D${options[j]} + clang_args="${clang_args} ${opt}" + target="${target}${opt}" fi - clang_args="${clang_args} ${opt}" - target="${target}${opt}" done # if combination is not known to be invalid, add it to the makefile