visualtest/launch_harness.sh
author Sylvain Becker <sylvain.becker@gmail.com>
Wed, 30 Jan 2019 16:36:47 +0100
changeset 12584 233b2a61cad1
parent 7924 fcb86d323770
permissions -rwxr-xr-x
Fixed failing SDL_ConvertSurface() when blit has failed.

Some blit combination are not supported (eg ARGB8888 -> SDL_PIXELFORMAT_INDEX1MSB)
So prevent SDL_ConvertSurface from creating a broken surface, which cannot be blitted
     1 #!/bin/bash
     2 ./testharness.exe --config testsprite2_crashtest.config > testrun.log 2>&1
     3 if [ "$?" != "0" ]; then
     4   echo TEST RUN FAILED (see testrun.log)
     5   # report error code to CI
     6 fi