bolt/deps/llvm-18.1.8/compiler-rt/test/builtins/Unit/ppc/test
2025-02-14 19:21:04 +01:00

18 lines
300 B
Text
Executable file

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