OLD | NEW |
1 # -*- Python -*- | 1 # -*- Python -*- |
2 | 2 |
3 # Configuration file for the 'lit' test runner. | 3 # Configuration file for the 'lit' test runner. |
4 | 4 |
5 import os | 5 import os |
6 import sys | 6 import sys |
7 import re | 7 import re |
8 import platform | 8 import platform |
9 | 9 |
10 import lit.util | 10 import lit.util |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
241 r"\bllvm-profdata\b", | 241 r"\bllvm-profdata\b", |
242 r"\bllvm-ranlib\b", | 242 r"\bllvm-ranlib\b", |
243 r"\bllvm-readobj\b", | 243 r"\bllvm-readobj\b", |
244 r"\bllvm-rtdyld\b", | 244 r"\bllvm-rtdyld\b", |
245 r"\bllvm-size\b", | 245 r"\bllvm-size\b", |
246 r"\bllvm-tblgen\b", | 246 r"\bllvm-tblgen\b", |
247 r"\bllvm-vtabledump\b", | 247 r"\bllvm-vtabledump\b", |
248 r"\bllvm-c-test\b", | 248 r"\bllvm-c-test\b", |
249 r"\bmacho-dump\b", | 249 r"\bmacho-dump\b", |
250 NOJUNK + r"\bopt\b", | 250 NOJUNK + r"\bopt\b", |
| 251 # @LOCALMOD-START - match pnacl-* tools |
| 252 r"\bpnacl-llc\b", |
| 253 r"\bpnacl-bcanalyzer\b", |
| 254 r"\bpnacl-bcdis\b", |
| 255 r"\bpnacl-freeze\b", |
| 256 r"\bpnacl-thaw\b", |
| 257 # @LOCALMOD-END |
251 r"\bFileCheck\b", | 258 r"\bFileCheck\b", |
252 r"\bobj2yaml\b", | 259 r"\bobj2yaml\b", |
253 r"\byaml2obj\b", | 260 r"\byaml2obj\b", |
254 r"\bverify-uselistorder\b", | 261 r"\bverify-uselistorder\b", |
255 # Handle these specially as they are strings searched | 262 # Handle these specially as they are strings searched |
256 # for during testing. | 263 # for during testing. |
257 r"\| \bcount\b", | 264 r"\| \bcount\b", |
258 r"\| \bnot\b"]: | 265 r"\| \bnot\b"]: |
259 # Extract the tool name from the pattern. This relies on the tool | 266 # Extract the tool name from the pattern. This relies on the tool |
260 # name being surrounded by \b word match operators. If the | 267 # name being surrounded by \b word match operators. If the |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 # Default to not using gmalloc | 406 # Default to not using gmalloc |
400 use_gmalloc = False | 407 use_gmalloc = False |
401 | 408 |
402 # Allow use of an explicit path for gmalloc library. | 409 # Allow use of an explicit path for gmalloc library. |
403 # Will default to '/usr/lib/libgmalloc.dylib' if not set. | 410 # Will default to '/usr/lib/libgmalloc.dylib' if not set. |
404 gmalloc_path_str = lit_config.params.get('gmalloc_path', | 411 gmalloc_path_str = lit_config.params.get('gmalloc_path', |
405 '/usr/lib/libgmalloc.dylib') | 412 '/usr/lib/libgmalloc.dylib') |
406 | 413 |
407 if use_gmalloc: | 414 if use_gmalloc: |
408 config.environment.update({'DYLD_INSERT_LIBRARIES' : gmalloc_path_str}) | 415 config.environment.update({'DYLD_INSERT_LIBRARIES' : gmalloc_path_str}) |
OLD | NEW |