diff options
Diffstat (limited to 'test/Unit/ppc/test')
-rwxr-xr-x | test/Unit/ppc/test | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/test/Unit/ppc/test b/test/Unit/ppc/test new file mode 100755 index 000000000..96e06320d --- /dev/null +++ b/test/Unit/ppc/test @@ -0,0 +1,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 |