Index: tests_lit/lit.cfg |
diff --git a/tests_lit/lit.cfg b/tests_lit/lit.cfg |
index 825f7d2b3051d4bc366080b71cdbb696fc540b91..de8c1317d3d917cbe0632bb276ee3900de452f11 100644 |
--- a/tests_lit/lit.cfg |
+++ b/tests_lit/lit.cfg |
@@ -39,15 +39,24 @@ llvmbinpath = os.path.abspath(os.environ.get('LLVM_BIN_PATH')) |
# Finding Subzero tools |
llvm2icetool = os.path.join(bin_root, 'llvm2ice') |
+minllvm2icetool = os.path.join(bin_root, 'minllvm2ice') |
# Convert LLVM source to PNaCl bitcode, read using the |
# Subzero bitcode reader, and then translate. |
config.substitutions.append( |
('%p2i', ' '.join([os.path.join(pydir, 'run-llvm2ice.py'), |
'--llvm2ice', llvm2icetool, |
- '--llvm-bin-path', llvmbinpath |
+ '--llvm-bin-path', llvmbinpath |
]))) |
+# Using min Subzero, convert LLVM source to PNaCl bitcode, read using |
+# the Subzero bitcode reader, and then translate. |
+config.substitutions.append( |
+ ('%minp2i', ' '.join([os.path.join(pydir, 'run-llvm2ice.py'), |
+ '--llvm2ice', minllvm2icetool, |
+ '--llvm-bin-path', llvmbinpath |
+ ]))) |
+ |
# Convert LLVM source to PNaCl bitcode, read using the PNaCl bitcode reader, |
# convert to ICE using the ICE Converter, and then translate. |
# TODO(kschimpf) Deprecated, remove once p2i working. |