premake/Cygwin/build-scripts/run.tests.release.bat
author Ryan C. Gordon
Tue, 05 Jan 2016 05:22:35 -0500
changeset 10031 2b3baddd9afa
parent 7925 f090a47eb7f7
permissions -rwxr-xr-x
Patched to compile.
icculus@7925
     1
@echo off
icculus@7925
     2
icculus@7925
     3
cd ..\tests
icculus@7925
     4
icculus@7925
     5
call :pass checkkeys
icculus@7925
     6
call :pass loopwave
icculus@7925
     7
call :pass testatomic
icculus@7925
     8
call :pass testaudioinfo
icculus@7925
     9
call :pass testautomation
icculus@7925
    10
call :pass testdraw2
icculus@7925
    11
call :pass testerror
icculus@7925
    12
call :pass testfile
icculus@7925
    13
call :pass testgamecontroller
icculus@7925
    14
call :pass testgesture
icculus@7925
    15
call :pass testgl2
icculus@7925
    16
call :pass testgles
icculus@7925
    17
call :pass testhaptic
icculus@7925
    18
call :pass testiconv
icculus@7925
    19
call :pass testime
icculus@7925
    20
call :pass testintersection
icculus@7925
    21
call :pass testjoystick
icculus@7925
    22
call :pass testkeys
icculus@7925
    23
::call :pass testloadso
icculus@7925
    24
call :pass testlock
icculus@7925
    25
call :pass testmessage
icculus@7925
    26
call :pass testmultiaudio
icculus@7925
    27
call :pass testnative
icculus@7925
    28
call :pass testoverlay2
icculus@7925
    29
call :pass testplatform
icculus@7925
    30
call :pass testpower
icculus@7925
    31
call :pass testrelative
icculus@7925
    32
call :pass testrendercopyex
icculus@7925
    33
call :pass testrendertarget
icculus@7925
    34
::call :pass testresample
icculus@7925
    35
call :pass testrumble
icculus@7925
    36
call :pass testscale
icculus@7925
    37
call :pass testsem 1
icculus@7925
    38
call :pass testshader
icculus@7925
    39
call :pass testshape sample.bmp
icculus@7925
    40
call :pass testsprite2
icculus@7925
    41
call :pass testspriteminimal
icculus@7925
    42
call :pass teststreaming
icculus@7925
    43
call :pass testthread
icculus@7925
    44
call :pass testtimer
icculus@7925
    45
call :pass testver
icculus@7925
    46
call :pass testwm2
icculus@7925
    47
call :pass torturethread
icculus@7925
    48
icculus@7925
    49
:: leave the tests directory
icculus@7925
    50
cd ..
icculus@7925
    51
icculus@7925
    52
:: exit batch
icculus@7925
    53
goto :eof
icculus@7925
    54
icculus@7925
    55
:: pass label (similar to pass function in the Xcode tests command script)
icculus@7925
    56
:pass
icculus@7925
    57
:: if it does not exist, break procedure
icculus@7925
    58
if not exist %1\Win32\Release goto endfunc
icculus@7925
    59
:: goto directory
icculus@7925
    60
echo Testing: %1
icculus@7925
    61
title Testing: %1
icculus@7925
    62
cd %1\Win32\Debug
icculus@7925
    63
:: execute test
icculus@7925
    64
".\%1.exe" %2
icculus@7925
    65
cd ..\..\..
icculus@7925
    66
pause
icculus@7925
    67
:endfunc
icculus@7925
    68
goto :eof