diff --git a/tools/ci_build/build.py b/tools/ci_build/build.py index ab3ec98472f2d..24320483470b5 100644 --- a/tools/ci_build/build.py +++ b/tools/ci_build/build.py @@ -1814,10 +1814,11 @@ def run_onnxruntime_tests(args, source_dir, ctest_path, build_dir, configs): # models_dir = os.path.join(os.path.dirname(cwd), "models") # run_subprocess([os.path.join(cwd, "onnx_test_runner"), "-j 2", models_dir], cwd=cwd, dll_path=dll_path) else: - ctest_cmd = [ctest_path, "--build-config", config, "--verbose", "--timeout", args.test_all_timeout] - run_subprocess(ctest_cmd, cwd=cwd, dll_path=dll_path) - models_dir = os.path.join(build_dir, "models") - run_subprocess([os.path.join(cwd, "onnx_test_runner"), "-j 2", models_dir], cwd=cwd, dll_path=dll_path) + # ctest_cmd = [ctest_path, "--build-config", config, "--verbose", "--timeout", args.test_all_timeout] + # run_subprocess(ctest_cmd, cwd=cwd, dll_path=dll_path) + models_dir = os.path.join(cwd, "models", "zoo") + print(f"models_dir = {models_dir}") + run_subprocess([os.path.join(cwd, config, "onnx_test_runner"), "-j 2", models_dir], cwd=cwd, dll_path=dll_path) if args.enable_pybind: python_path = None