visualtest/launch_harness.sh
author Sam Lantinga <slouken@libsdl.org>
Wed, 12 Jun 2019 10:35:47 -0700
changeset 12847 baae9331abc0
parent 7924 fcb86d323770
permissions -rwxr-xr-x
The hat index passed to the application should be zero-based with no holes
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