Commit c40eed57d97ef6a83058a68c53aa7460773d9355

Steffen Jaeckel 2015-12-05T13:09:43

add --all to testme.sh

diff --git a/testme.sh b/testme.sh
index 320016e..15cf32c 100755
--- a/testme.sh
+++ b/testme.sh
@@ -43,6 +43,10 @@ _help()
   echo "                            e.g. --make-option=\"-f makefile.shared\""
   echo "        This is an option that will always be passed as parameter to make."
   echo
+  echo "Godmode:"
+  echo
+  echo "    --all                   Choose all architectures and gcc and clang as compilers"
+  echo
   echo "    --help                  This message"
   exit 0
 }
@@ -105,6 +109,10 @@ do
     --make-option=*)
       MAKE_OPTIONS="$MAKE_OPTIONS ${1#*=}"
     ;;
+    --all)
+      COMPILERS="gcc clang"
+      ARCHFLAGS="-m64 -m32 -mx32"
+    ;;
     --help)
       _help
     ;;