run.sh 435 B

12345678910111213
  1. #!/bin/bash
  2. set -eo pipefail
  3. os="unix"
  4. if [[ "$MACHINE" == "Windows" ]]; then
  5. os="win"
  6. fi
  7. bash ../scripts/compile src/interactor-a-plus-b.cpp
  8. bash ../scripts/test-ref r-interactor-a-plus-b-1-1 "$VALGRIND" ./interactor-a-plus-b files/"$os"/input.01 output.01 < files/"$os"/participant.01
  9. dos2unix output.01
  10. bash ../scripts/test-ref r-interactor-a-plus-b-1-2 cat output.01
  11. rm -f interactor-a-plus-b interactor-a-plus-b.exe output.01