1
0

run.sh 744 B

1234567891011121314151617
  1. #!/bin/bash
  2. set -eo pipefail
  3. bash ../scripts/compile files/test-format.cpp
  4. bash ../scripts/test-ref test-format/r1 ./test-format
  5. bash ../scripts/test-ref test-format/r2 "$VALGRIND" ./test-format
  6. rm -f test-format test-format.exe
  7. bash ../scripts/compile files/test-format-format1.cpp
  8. bash ../scripts/test-ref test-format-format1/r1 ./test-format-format1
  9. bash ../scripts/test-ref test-format-format1/r2 "$VALGRIND" ./test-format-format1
  10. rm -f test-format-format1 test-format-format1.exe
  11. bash ../scripts/compile files/test-format-format2.cpp
  12. bash ../scripts/test-ref test-format-format2/r1 ./test-format-format2
  13. bash ../scripts/test-ref test-format-format2/r2 "$VALGRIND" ./test-format-format2
  14. rm -f test-format-format2 test-format-format2.exe