visualtest/launch_harness.sh
author Ryan C. Gordon <icculus@icculus.org>
Sun, 21 Oct 2018 22:40:17 -0400
changeset 12345 50e1cca28b39
parent 7924 fcb86d323770
permissions -rwxr-xr-x
wasapi/win32: Sort initial device lists by device GUID.

This makes an unchanged set of hardware always report devices in the same
order on each run.
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