From f96ac2047fc926d6227ae5b6bb81cd6ea6c3d084 Mon Sep 17 00:00:00 2001 From: Jorn Tuyls Date: Fri, 22 Nov 2024 03:25:11 -0800 Subject: [PATCH] [Test] run.py make file dir absolute --- build_tools/ci/cpu_comparison/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/ci/cpu_comparison/run.py b/build_tools/ci/cpu_comparison/run.py index c8248b178..79a73f101 100755 --- a/build_tools/ci/cpu_comparison/run.py +++ b/build_tools/ci/cpu_comparison/run.py @@ -1202,7 +1202,7 @@ def all_tests( raise RuntimeError(f"'{iree_install_dir}' is not a directory.") iree_compile_exe = find_executable(iree_install_dir, "iree-compile") iree_run_exe = find_executable(iree_install_dir, "iree-run-module") - file_dir = Path(__file__).parent + file_dir = Path(os.path.dirname(os.path.abspath(__file__))) config = TestConfig( output_dir,