[Openmp-commits] [openmp] 5b60087 - [OpenMP] Fix tool tests 9475ed84909463ad594602dd76583f4ff12efcd0

Aiden Grossman via Openmp-commits openmp-commits at lists.llvm.org
Sat Jul 26 09:38:53 PDT 2025


Author: Aiden Grossman
Date: 2025-07-26T16:38:45Z
New Revision: 5b60087eede95a5d4c14d9eaaf0b90faadb24c50

URL: https://github.com/llvm/llvm-project/commit/5b60087eede95a5d4c14d9eaaf0b90faadb24c50
DIFF: https://github.com/llvm/llvm-project/commit/5b60087eede95a5d4c14d9eaaf0b90faadb24c50.diff

LOG: [OpenMP] Fix tool tests 9475ed84909463ad594602dd76583f4ff12efcd0

These were still passing because I did not clear all the test artifacts
in between so the old ones were still present after updating the test. I
forgot to update a lit substitution which failed on clean builds.

Added: 
    

Modified: 
    openmp/runtime/test/lit.cfg

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg
index ca32985fe6c48..0ca6a38c43587 100644
--- a/openmp/runtime/test/lit.cfg
+++ b/openmp/runtime/test/lit.cfg
@@ -221,7 +221,7 @@ if config.has_ompt:
         # No such linker flag on Darwin.
         config.substitutions.append(("%no-as-needed-flag", ""))
     else:
-        config.substitutions.append(("%preload-tool", "env LD_PRELOAD=%T/tool.so"))
+        config.substitutions.append(("%preload-tool", "env LD_PRELOAD=%t.tool_dir/tool.so"))
         config.substitutions.append(("%no-as-needed-flag", "-Wl,--no-as-needed"))
 else:
     config.substitutions.append(("FileCheck", config.test_filecheck))


        


More information about the Openmp-commits mailing list