Skip to content

Commit 104e38c

Browse files
committed
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
1 parent d3530e9 commit 104e38c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

debuginfo-tests/lit.cfg.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,3 +157,6 @@ def get_required_attr(config, attr_name):
157157
if apple_lldb_vers < 1000:
158158
config.available_features.add('apple-lldb-pre-1000')
159159

160+
llvm_config.feature_config([('--build-mode', {
161+
'Debug|RelWithDebInfo': 'debug-info'
162+
})])

debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# 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
2+
# REQUIRES: debug-info
23

34
break main
45
run

0 commit comments

Comments
 (0)