visualtest/launch_harness.sh
author Ryan C. Gordon <icculus@icculus.org>
Wed, 24 Dec 2014 13:13:19 -0500
changeset 9285 559ac7dd4ee4
parent 7924 fcb86d323770
permissions -rwxr-xr-x
I don't know if Unix scripts are useful at all on Emscripten, but fix them up.
icculus@7924
     1
#!/bin/bash
icculus@7924
     2
./testharness.exe --config testsprite2_crashtest.config > testrun.log 2>&1
icculus@7924
     3
if [ "$?" != "0" ]; then
icculus@7924
     4
  echo TEST RUN FAILED (see testrun.log)
icculus@7924
     5
  # report error code to CI
icculus@7924
     6
fi