Cosmetics
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index fac2680..0562c75 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -215,7 +215,7 @@
 CC=arm-none-eabi-gcc AR=arm-none-eabi-ar LD=arm-none-eabi-ld CFLAGS=-Werror make lib
 fi # arm-gcc
 
-if which armcc >/dev/null && armcc --help >/dev/null; then
+if which armcc >/dev/null && armcc --help >/dev/null 2>&1; then
 msg "build: armcc, make"
 cleanup
 cp "$CONFIG_H" "$CONFIG_BAK"