Index: tests_lit/lit.cfg |
diff --git a/tests_lit/lit.cfg b/tests_lit/lit.cfg |
index 171517da50363f9759fb08b996cc6eb6d4223753..d1d15bfba793c48733dc0bdc19d0f2e102d56f44 100644 |
--- a/tests_lit/lit.cfg |
+++ b/tests_lit/lit.cfg |
@@ -32,7 +32,13 @@ config.substitutions.append(('%{python}', sys.executable)) |
llvmbinpath = os.path.abspath(os.environ.get('LLVM_BIN_PATH')) |
# Finding Subzero tools |
-config.substitutions.append(('%llvm2ice', os.path.join(bin_root, 'llvm2ice'))) |
+llvm2icetool = os.path.join(bin_root, 'llvm2ice') |
+config.substitutions.append( |
+ ('%llvm2iceinsts', ' '.join([os.path.join(bin_root, 'llvm2iceinsts.py'), |
+ '--llvm2ice', llvm2icetool, |
+ '--llvm-bin-path', llvmbinpath |
+ ]))) |
+config.substitutions.append(('%llvm2ice', llvm2icetool)) |
config.substitutions.append(('%szdiff', os.path.join(bin_root, 'szdiff.py'))) |
llvmbintools = ['FileCheck'] |