[debuginfo-tests] 104e38c - Only run pretty-printer tests for builds with debug-info.
Christian Sigg via llvm-commits
llvm-commits at lists.llvm.org
Thu May 14 00:19:56 PDT 2020
Author: Christian Sigg
Date: 2020-05-14T09:19:43+02:00
New Revision: 104e38cf761e3de3fb7838863001dbf007e5328b
URL: https://github.com/llvm/llvm-project/commit/104e38cf761e3de3fb7838863001dbf007e5328b
DIFF: https://github.com/llvm/llvm-project/commit/104e38cf761e3de3fb7838863001dbf007e5328b.diff
LOG: 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
Added:
Modified:
debuginfo-tests/lit.cfg.py
debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
Removed:
################################################################################
diff --git a/debuginfo-tests/lit.cfg.py b/debuginfo-tests/lit.cfg.py
index fb2f72357b26..4c45b723d2e9 100644
--- a/debuginfo-tests/lit.cfg.py
+++ b/debuginfo-tests/lit.cfg.py
@@ -157,3 +157,6 @@ def get_required_attr(config, attr_name):
if apple_lldb_vers < 1000:
config.available_features.add('apple-lldb-pre-1000')
+llvm_config.feature_config([('--build-mode', {
+ 'Debug|RelWithDebInfo': 'debug-info'
+})])
diff --git a/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb b/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
index fa1e2aada6cd..cdd3388d6d2e 100644
--- a/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
+++ b/debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
@@ -1,4 +1,5 @@
# RUN: gdb -q -batch -n -iex 'source %llvm_src_root/utils/gdb-scripts/prettyprinters.py' -x %s %llvm_tools_dir/check-gdb-llvm-support | FileCheck %s --dump-input-on-failure
+# REQUIRES: debug-info
break main
run
More information about the llvm-commits
mailing list