Only run pretty-printer tests for builds with debug-info.
Reviewers: dblaikie
Reviewed By: dblaikie
Subscribers: tbosch, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D79897
diff --git a/debuginfo-tests/lit.cfg.py b/debuginfo-tests/lit.cfg.py
index fb2f723..4c45b72 100644
--- a/debuginfo-tests/lit.cfg.py
+++ b/debuginfo-tests/lit.cfg.py
@@ -157,3 +157,6 @@
if apple_lldb_vers < 1000:
config.available_features.add('apple-lldb-pre-1000')
+llvm_config.feature_config([('--build-mode', {
+ 'Debug|RelWithDebInfo': 'debug-info'
+})])