summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-05-13 17:52:35 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-05-13 17:52:35 +0200
commitc2151264e5075a7bfd419c3bdf54b6521faca51e (patch)
tree2e458b2f5344d09f82d421c835277bbca6b95a44
parentf98e33643e981b0f0b67bacd44e49a66cb29c119 (diff)
downloadcompilertests-c2151264e5075a7bfd419c3bdf54b6521faca51e.tar.gz
compilertests-c2151264e5075a7bfd419c3bdf54b6521faca51e.tar.bz2
finished the torture test script
-rwxr-xr-xecomp-c/torture.sh12
1 files changed, 9 insertions, 3 deletions
diff --git a/ecomp-c/torture.sh b/ecomp-c/torture.sh
index 09e06a9..268f1e5 100755
--- a/ecomp-c/torture.sh
+++ b/ecomp-c/torture.sh
@@ -1,5 +1,11 @@
#!/bin/bash
-./build.sh ec gcc
-./build.sh ec asm-i386
-tests/run_tests.sh
+for COMPILER in gcc clang pcc tcc; do
+ for MODE in freestanding hosted; do
+ for LEVEL in 0 1 2 3; do
+ ./build.sh ec $COMPILER $MODE $LEVEL
+ ./build.sh asm-i386 $COMPILER $MODE $LEVEL
+ tests/run_tests.sh
+ done
+ done
+done