summaryrefslogtreecommitdiff
path: root/miniany/torture.sh
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2021-08-20 08:48:14 +0000
committerAndreas Baumann <mail@andreasbaumann.cc>2021-08-20 08:48:14 +0000
commit1a6b63ad270d09ece8a520e64235ba8d8017ed22 (patch)
treef6c30564de52f1e9c5268944c242ab655b825c5f /miniany/torture.sh
parentb74b9a8ef45137611e53e779d932d9d222e8eb35 (diff)
downloadcompilertests-1a6b63ad270d09ece8a520e64235ba8d8017ed22.tar.gz
compilertests-1a6b63ad270d09ece8a520e64235ba8d8017ed22.tar.bz2
c4: fixed compiler warnings and using old style block comments
Diffstat (limited to 'miniany/torture.sh')
-rwxr-xr-xminiany/torture.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/miniany/torture.sh b/miniany/torture.sh
index 06c41c4..530cd7c 100755
--- a/miniany/torture.sh
+++ b/miniany/torture.sh
@@ -1,12 +1,16 @@
#!/bin/bash
-
for COMPILER in gcc clang pcc tcc; do
- $COMPILER -m32 -o c4 c4.c
for MODE in freestanding hosted; do
- for LEVEL in 0; do
+ for LEVEL in d 0 1 2 3; do
+# freestanding c4 needs much more work
+# ./build.sh c4 $COMPILER $MODE $LEVEL
+ $COMPILER -m32 -o c4 c4.c
./build.sh cc $COMPILER $MODE $LEVEL
- ./cc < cc.c
+ ./cc < test1.c
+ ./c4 cc.c < test1.c
+ ./c4 c4.c cc.c < test1.c
done
done
done
+