Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(34)

Unified Diff: tests_lit/lit.cfg

Issue 1210013005: Fixes case where terminator instruction is missing at end of function. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: fix nits. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | tests_lit/llvm2ice_tests/Input/no-terminator-inst.tbc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests_lit/lit.cfg
diff --git a/tests_lit/lit.cfg b/tests_lit/lit.cfg
index 10d1df1f54d4b409a1251017f968366d83485028..3090e6063a70824a45a6da59ffbf821c97af0d8a 100644
--- a/tests_lit/lit.cfg
+++ b/tests_lit/lit.cfg
@@ -48,7 +48,7 @@ config.name = 'subzero'
config.test_format = lit.formats.ShTest()
# suffixes: A list of file extensions to treat as test files.
-config.suffixes = ['.ll']
+config.suffixes = ['.ll', '.test']
# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)
@@ -106,14 +106,16 @@ config.substitutions.append(('%lc2i', ' '.join(iflc2i_atts_cmd + pnacl_sz_cmd
config.substitutions.append(('%pnacl_sz', pnacl_sz_tool))
-pnaclbintools = [r"\bFileCheck\b",
- r"\ble32-nacl-objdump\b",
- r"\bllvm-as\b",
- r"\bllvm-mc\b",
- r"\bllvm-readobj\b",
- r"\bnot\b",
- r"\bpnacl-freeze\b",
- r"\bpnacl-bcdis\b"]
+pnaclbintools = [r'\b' + x + r'\b' for x in
+ ['FileCheck',
+ 'le32-nacl-objdump',
+ 'llvm-as',
+ 'llvm-mc',
+ 'llvm-readobj',
+ 'not',
+ 'pnacl-bcdis',
+ 'pnacl-bcfuzz',
+ 'pnacl-freeze']]
for tool in pnaclbintools:
# The re.sub() line is adapted from one of LLVM's lit.cfg files.
« no previous file with comments | « src/PNaClTranslator.cpp ('k') | tests_lit/llvm2ice_tests/Input/no-terminator-inst.tbc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698