check-all.sh

changeset 988
15b3ca7ee33f
parent 987
53e22f112b11
--- a/check-all.sh	Tue Nov 12 17:34:04 2024 +0100
+++ b/check-all.sh	Mon Nov 18 22:05:42 2024 +0100
@@ -12,15 +12,29 @@
   fi
 }
 
+function perform_check_cxx
+{
+  # we cannot mute the warnings, so throw every everything
+  if ! make check-cxx > /dev/null 2> /dev/null ; then
+    echo "fail."
+  else
+    echo "ok."
+  fi
+}
+
 for cc in clang gcc; do
   CC=$cc ./configure --debug > /dev/null
   printf "Check $cc... "
   perform_check
+  printf "Check $cc (c++)... "
+  perform_check_cxx
 done
 
 printf "Check w/o szmul builtin... "
 ./configure --debug --disable-szmul-builtin > /dev/null
 perform_check
+printf "Check w/o szmul builtin (c++)... "
+perform_check_cxx
 
 # clean build files and restore config
 make clean > /dev/null

mercurial