pytorch/.ci/pytorch/win-test-helpers/test_python_jit_legacy.bat

14 lines
415 B
Batchfile
Raw Normal View History

2023-11-08 09:01:59 -07:00
call %SCRIPT_HELPERS_DIR%\setup_pytorch_env.bat
echo Copying over test times file
copy /Y "%PYTORCH_FINAL_PACKAGE_DIR_WIN%\.pytorch-test-times.json" "%PROJECT_DIR_WIN%"
2023-11-08 09:13:36 -07:00
copy /Y "%PYTORCH_FINAL_PACKAGE_DIR_WIN%\.pytorch-test-file-ratings.json" "%PROJECT_DIR_WIN%"
2023-11-08 09:01:59 -07:00
pushd test
echo Run jit_profiling tests
python run_test.py --include test_jit_legacy test_jit_fuser_legacy --verbose
if ERRORLEVEL 1 exit /b 1
popd