Skip to content

Commit 6c253a7

Browse files
authored
[SYCL] Make sure lit tests use absolute path for SPIRV tools (#6854)
llvm-lit has a list of tools where it uses the absolute path to make sure it's using the in-tree version. llvm-spirv and spirv-to-ir-wrapper weren't in the list so it used just the binary name, making it possible for another one on the path to be picked up Signed-off-by: Sarnie, Nick <nick.sarnie@intel.com>
1 parent 2034175 commit 6c253a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/test/lit.cfg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,11 +167,11 @@ def get_asan_rtlib():
167167
'llvm-modextract', 'llvm-nm', 'llvm-objcopy', 'llvm-objdump', 'llvm-otool',
168168
'llvm-pdbutil', 'llvm-profdata', 'llvm-profgen', 'llvm-ranlib', 'llvm-rc', 'llvm-readelf',
169169
'llvm-readobj', 'llvm-remark-size-diff', 'llvm-rtdyld', 'llvm-sim',
170-
'llvm-size', 'llvm-split', 'llvm-stress', 'llvm-strings', 'llvm-strip',
170+
'llvm-size', 'llvm-spirv', 'llvm-split', 'llvm-stress', 'llvm-strings', 'llvm-strip',
171171
'llvm-tblgen', 'llvm-tapi-diff', 'llvm-undname', 'llvm-windres',
172172
'llvm-c-test', 'llvm-cxxfilt', 'llvm-xray', 'yaml2obj', 'obj2yaml',
173173
'yaml-bench', 'verify-uselistorder', 'bugpoint', 'llc', 'llvm-symbolizer',
174-
'opt', 'sancov', 'sanstats'])
174+
'opt', 'sancov', 'sanstats', 'spirv-to-ir-wrapper'])
175175

176176
# The following tools are optional
177177
tools.extend([

0 commit comments

Comments
 (0)