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