• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1@echo off
2
3cd ..\tests
4
5call :pass checkkeys
6call :pass loopwave
7call :pass testatomic
8call :pass testaudioinfo
9call :pass testautomation
10call :pass testdraw2
11call :pass testerror
12call :pass testfile
13call :pass testgamecontroller
14call :pass testgesture
15call :pass testgl2
16call :pass testgles
17call :pass testhaptic
18call :pass testiconv
19call :pass testime
20call :pass testintersection
21call :pass testjoystick
22call :pass testkeys
23::call :pass testloadso
24call :pass testlock
25call :pass testmessage
26call :pass testmultiaudio
27call :pass testnative
28call :pass testoverlay2
29call :pass testplatform
30call :pass testpower
31call :pass testrelative
32call :pass testrendercopyex
33call :pass testrendertarget
34::call :pass testresample
35call :pass testrumble
36call :pass testscale
37call :pass testsem 1
38call :pass testshader
39call :pass testshape sample.bmp
40call :pass testsprite2
41call :pass testspriteminimal
42call :pass teststreaming
43call :pass testthread
44call :pass testtimer
45call :pass testver
46call :pass testwm2
47call :pass torturethread
48
49:: leave the tests directory
50cd ..
51
52:: exit batch
53goto :eof
54
55:: pass label (similar to pass function in the Xcode tests command script)
56:pass
57:: if it does not exist, break procedure
58if not exist %1\Win32\Debug goto endfunc
59:: goto directory
60echo Testing: %1
61title Testing: %1
62cd %1\Win32\Debug
63:: execute test
64".\%1.exe" %2
65cd ..\..\..
66pause
67:endfunc
68goto :eof