diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-05-13 17:52:35 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-05-13 17:52:35 +0200 |
commit | c2151264e5075a7bfd419c3bdf54b6521faca51e (patch) | |
tree | 2e458b2f5344d09f82d421c835277bbca6b95a44 | |
parent | f98e33643e981b0f0b67bacd44e49a66cb29c119 (diff) | |
download | compilertests-c2151264e5075a7bfd419c3bdf54b6521faca51e.tar.gz compilertests-c2151264e5075a7bfd419c3bdf54b6521faca51e.tar.bz2 |
finished the torture test script
-rwxr-xr-x | ecomp-c/torture.sh | 12 |
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 |