Tidy-up
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index ace70d1..164c2e9 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -3978,12 +3978,11 @@
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