summaryrefslogtreecommitdiff
path: root/test/Unit/ppc/test
blob: 96e06320dbe2a86db4ef55a3fb1b82f9c4122fc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
for FILE in $(ls *.c); do
	if gcc -arch ppc -O0 $FILE ../../../Release/ppc/libcompiler_rt.Optimized.a -mlong-double-128
	then
	    echo "Testing $FILE"
		if ./a.out
		then
			rm ./a.out
		else
			echo "fail"
# 			exit 1
		fi
	else
		echo "$FILE failed to compile"
#		exit 1
	fi
done
echo "pass"
exit