visualtest/launch_harness.sh
author Sam Lantinga
Sun, 13 Aug 2017 18:12:06 -0700
changeset 11263 f85618f8ba81
parent 7924 fcb86d323770
permissions -rwxr-xr-x
Fixed bug 2812 - Make libSDL2main.a usable on Android via a dummy symbol

Jonas Kulla

This eliminates the need to manually compile in SDL_main_android.c.
Instead, add "-lSDL2main -Wl,-u,SDL_main_dummy" when linking.

I don't know how the nkd-build process works, but unless it was
for some reason linking libSDL2main.a it should be unaffected.
     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