This will allow for longer running FileCheck based tests to be committed to
clang for use on buildbots, preventing the normal make-check cycle from
increasing in time significantly.
This is a necessary change in order to commit the end-to-end arm neon intrinsic
tests since FileCheck takes ~20 seconds to run said test due to the large amount
of neon intrinsics.
To force a test to run only when --param run_long_tests=true is passed in use
the following requires statement:
// REQUIRES: long_tests
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184385
91177308-0d34-0410-b5e6-
96231b3b80d8
if (config.llvm_use_sanitizer == "Memory" or
config.llvm_use_sanitizer == "MemoryWithOrigins"):
config.available_features.add("msan")
+
+# Check if we should run long running tests.
+if lit.params.get("run_long_tests", None) == "true":
+ config.available_features.add("long_tests")