summaryrefslogtreecommitdiff
path: root/miniany/torture.sh
blob: 530cd7c37873a1584741129337b166247b60d99a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

for COMPILER in gcc clang pcc tcc; do
	for MODE in freestanding hosted; 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 < test1.c
			./c4 cc.c < test1.c
			./c4 c4.c cc.c < test1.c
		done
	done
done