diff options
| author | David Blaikie <dblaikie@gmail.com> | 2015-03-02 19:34:11 +0000 |
|---|---|---|
| committer | David Blaikie <dblaikie@gmail.com> | 2015-03-02 19:34:11 +0000 |
| commit | 41fe3a495d803278284d381b48225f79ea350637 (patch) | |
| tree | 5e21e2db076130119c82a4f467d242d928e6567a /llvm/test | |
| parent | 3e40703ab563aaf58ecb02c37422310cd57b580f (diff) | |
| download | bcm5719-llvm-41fe3a495d803278284d381b48225f79ea350637.tar.gz bcm5719-llvm-41fe3a495d803278284d381b48225f79ea350637.zip | |
Change SystemZ large tests to use the existing long_tests property
(this is already used in Clang for a couple of tests)
Reviewers: uweigand
Differential Revision: http://reviews.llvm.org/D7965
llvm-svn: 230998
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/CodeGen/SystemZ/Large/lit.local.cfg | 4 | ||||
| -rw-r--r-- | llvm/test/lit.cfg | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg index 4f22a970c3a..d9d46472613 100644 --- a/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg +++ b/llvm/test/CodeGen/SystemZ/Large/lit.local.cfg @@ -1,8 +1,8 @@ config.suffixes = ['.py'] # These tests take on the order of seconds to run, so skip them unless -# running natively. -if config.root.host_arch not in ['SystemZ']: +# we're running long tests. +if 'long_tests' not in config.available_features: config.unsupported = True if not 'SystemZ' in config.root.targets: diff --git a/llvm/test/lit.cfg b/llvm/test/lit.cfg index 7b7a269b94b..197b4582979 100644 --- a/llvm/test/lit.cfg +++ b/llvm/test/lit.cfg @@ -312,6 +312,10 @@ if config.llvm_use_sanitizer == "Undefined": else: config.available_features.add("not_ubsan") +# Check if we should run long running tests. +if lit_config.params.get("run_long_tests", None) == "true": + config.available_features.add("long_tests") + # Direct object generation # Suppress x86_64-mingw32 while investigating since r219108. if not 'hexagon' in config.target_triple and not re.match(r'^x86_64.*-(mingw32|windows-gnu|win32)', config.target_triple): |

