summaryrefslogtreecommitdiffstats
path: root/clang/utils/C++Tests/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'clang/utils/C++Tests/lit.cfg')
-rw-r--r--clang/utils/C++Tests/lit.cfg15
1 files changed, 11 insertions, 4 deletions
diff --git a/clang/utils/C++Tests/lit.cfg b/clang/utils/C++Tests/lit.cfg
index 0b7ebc619ac..aa3b09d50a4 100644
--- a/clang/utils/C++Tests/lit.cfg
+++ b/clang/utils/C++Tests/lit.cfg
@@ -17,7 +17,14 @@ config.suffixes = []
# Reset these from the Clang config.
config.test_source_root = config.test_exec_root = None
-# Don't run Clang-Syntax checks by default.
-if not lit.params.get('run_clang_syntax'):
- config.excludes = ['Clang-Syntax']
-
+# Don't run Clang checks by default.
+config.excludes = []
+if (not lit.params.get('run_clang_syntax') and
+ not lit.params.get('run_clang_all')):
+ config.excludes.append('Clang-Syntax')
+if (not lit.params.get('run_clang_code_syntax') and
+ not lit.params.get('run_clang_all')):
+ config.excludes.append('Clang-Code-Syntax')
+if (not lit.params.get('run_clang_compile') and
+ not lit.params.get('run_clang_all')):
+ config.excludes.append('Clang-Code-Compile')
OpenPOWER on IntegriCloud