test_assimp_windows.cmd 623 B

123456789101112131415161718192021222324
  1. @rem #
  2. @rem # Copyright (c) Contributors to the Open 3D Engine Project.
  3. @rem # For complete copyright and license terms please see the LICENSE at the root of this distribution.
  4. @rem #
  5. @rem # SPDX-License-Identifier: Apache-2.0 OR MIT
  6. @rem #
  7. set curdir=%cd%
  8. rem The tests leave behind a lot of temp files in the current working directory,
  9. rem so change to a directory in temp to keep things clean
  10. cd temp
  11. mkdir test_out
  12. cd test_out
  13. %TARGET_INSTALL_ROOT%\bin\Debug\unit.exe || goto ExitWithError
  14. %TARGET_INSTALL_ROOT%\bin\Release\unit.exe || goto ExitWithError
  15. cd %curdir%
  16. exit /b 0
  17. :ExitWithError
  18. cd %curdir%
  19. exit /b 1