1
0

run.sh 711 B

1234567891011121314
  1. #!/bin/bash
  2. set -eo pipefail
  3. bash ../scripts/compile src/wcmp.cpp
  4. bash ../scripts/test-ref r1 "$VALGRIND" ./wcmp files/input.01 files/output.01 files/answer.01
  5. bash ../scripts/test-ref r2 "$VALGRIND" ./wcmp files/input.01 files/output.01 files/output.01
  6. bash ../scripts/test-ref r3 "$VALGRIND" ./wcmp files/input.01 files/output.01 files/answer2.01
  7. rm -f wcmp wcmp.exe
  8. bash ../scripts/compile src/fcmp.cpp
  9. bash ../scripts/test-ref r4 "$VALGRIND" ./fcmp files/input.01 files/output.01 files/answer.01
  10. bash ../scripts/test-ref r5 "$VALGRIND" ./fcmp files/input.01 files/output.01 files/output.01
  11. bash ../scripts/test-ref r6 "$VALGRIND" ./fcmp files/input.01 files/output.01 files/answer2.01
  12. rm -f fcmp fcmp.exe