launch_tests_debug.bat 961 B

1234567891011121314151617181920212223242526272829303132
  1. set azslc_binary=..\bin\win_x64\Debug\azslc.exe
  2. set atom_dev_path=%1
  3. @if not exist %azslc_binary% (
  4. echo Please build the debug version of azslc
  5. @pause
  6. @goto :eof
  7. )
  8. @if "%~1"=="" goto NoArgs
  9. @if not exist %atom_dev_path%"\Gems\Atom\Asset\Shader\External" goto QuickTest
  10. SHIFT
  11. goto FullTest
  12. :NoArgs
  13. python testapp.py --silent --compiler %azslc_binary% --path Syntax Semantic Advanced Samples
  14. @pause
  15. @goto :eof
  16. :FullTest
  17. @echo Found the dev path
  18. @if "%~1"=="" ( python testapp.py --silent --compiler %azslc_binary% --az3rdParty %atom_dev_path%"\Gems\Atom\Asset\Shader\External" --path Syntax Semantic Advanced Samples )
  19. @else (python testapp.py --compiler %azslc_binary% --az3rdParty %atom_dev_path%"\Gems\Atom\Asset\Shader\External" --path %1 %2 %3 %4 %5 )
  20. @pause
  21. @goto :eof
  22. :QuickTest
  23. @echo not found dev path
  24. python testapp.py --compiler %azslc_binary% --path %1 %2 %3 %4 %5
  25. @pause
  26. @goto :eof