ctest_entrypoint.cmd 547 B

1234567891011121314151617181920
  1. @ECHO OFF
  2. REM
  3. REM Copyright (c) Contributors to the Open 3D Engine Project.
  4. REM For complete copyright and license terms please see the LICENSE at the root of this distribution.
  5. REM
  6. REM SPDX-License-Identifier: Apache-2.0 OR MIT
  7. REM
  8. REM
  9. REM Continuous Integration CLI entrypoint script to start CTest, triggering post-build tests
  10. REM
  11. SETLOCAL
  12. SET DEV_DIR=%~dp0\..\..
  13. SET PYTHON=%DEV_DIR%\python\python.cmd
  14. SET CTEST_SCRIPT=%~dp0\ctest_driver.py
  15. REM pass all args to python-based CTest script
  16. call %PYTHON% %CTEST_SCRIPT% %*
  17. exit /b %ERRORLEVEL%