[PATCH] D79897: Only run pretty-printer tests for builds with debug-info.

Christian Sigg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 14 00:30:00 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG104e38cf761e: Only run pretty-printer tests for builds with debug-info. (authored by csigg).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D79897/new/

https://reviews.llvm.org/D79897

Files:
  debuginfo-tests/lit.cfg.py
  debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb


Index: debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
===================================================================
--- debuginfo-tests/llvm-prettyprinters/gdb/llvm-support.gdb
+++ 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
Index: debuginfo-tests/lit.cfg.py
===================================================================
--- debuginfo-tests/lit.cfg.py
+++ 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'
+})])


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D79897.263926.patch
Type: text/x-patch
Size: 871 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200514/a884f044/attachment.bin>


More information about the llvm-commits mailing list