Browse Source

Merge branch 'master' of https://git.adawesome.tech/abheekd/usaco-practice

square-pasture
Abheek Dhawan 3 years ago
parent
commit
b054bf6a19
  1. 8
      test.sh

8
test.sh

@ -4,6 +4,10 @@ FILES=*/*/*.cpp
for f in $FILES for f in $FILES
do do
gcc "$f" -lstdc++ -lm -o /dev/null gcc "$f" -lstdc++ -lm -o /dev/null
status=$? status=$?;
[ $status -eq 0 ] && echo "$f was compiled successfully" || echo "Compilation of $f failed" if [ $status -eq 1 ]; then
echo "Compilation of $f failed";
exit 1;
fi
echo "$f was compiled successfully";
done done

Loading…
Cancel
Save