Skip to content

Commit b5c7482

Browse files
[OpenMP] Remove %preload-tool definition from archer tests (llvm#150779)
This was added in 2b8115b and it looks like this wass essentially a copy paste from one of the other lit config files. This substitution is unused within the tests however and contains a deprecated %T directive, so remove it.
1 parent 8c07a63 commit b5c7482

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

openmp/tools/archer/tests/lit.cfg

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,10 +130,3 @@ config.substitutions.append(("%deflake", os.path.join(os.path.dirname(__file__),
130130
config.substitutions.append(("FileCheck", config.test_filecheck))
131131
config.substitutions.append(("%not", config.test_not))
132132
config.substitutions.append(("%sort-threads", "sort --numeric-sort --stable"))
133-
if config.operating_system == 'Windows':
134-
# No such environment variable on Windows.
135-
config.substitutions.append(("%preload-tool", "true ||"))
136-
elif config.operating_system == 'Darwin':
137-
config.substitutions.append(("%preload-tool", "env DYLD_INSERT_LIBRARIES=%T/tool.so"))
138-
else:
139-
config.substitutions.append(("%preload-tool", "env LD_PRELOAD=%T/tool.so"))

0 commit comments

Comments
 (0)