Add test for build warnings with baremetal.h
diff --git a/tests/scripts/all.sh b/tests/scripts/all.sh
index 9af040f..99c8736 100755
--- a/tests/scripts/all.sh
+++ b/tests/scripts/all.sh
@@ -1155,6 +1155,12 @@
     armc6_build_test "--target=aarch64-arm-none-eabi -march=armv8.2-a"
 }
 
+# need _armcc in the name for pre_check_tools()
+component_build_baremetal_script_gcc_armcc () {
+    msg "build: scripts/baremetal.sh gcc/armc5/armc6"
+    scripts/baremetal.sh --rom --gcc --armc5 --armc6 --check
+}
+
 component_build_armcc_tinycrypt_baremetal () {
     msg "build: ARM Compiler 5, make with tinycrypt and baremetal"
     scripts/config.pl baremetal