run.tests.debug.bat 1.4 KB

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