[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
Wed May 13 13:03:59 PDT 2020


csigg updated this revision to Diff 263828.
csigg added a comment.

Undo formatting.


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
@@ -115,7 +115,7 @@
 # Set up commands for DexTer regression tests.
 # Builder, debugger, optimisation level and several other flags differ
 # depending on whether we're running a unix like or windows os.
-if platform.system() == 'Windows': 
+if platform.system() == 'Windows':
   dexter_regression_test_builder = '--builder clang-cl_vs2015'
   dexter_regression_test_debugger = '--debugger dbgeng'
   dexter_regression_test_cflags = '--cflags "/Zi /Od"'
@@ -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.263828.patch
Type: text/x-patch
Size: 1326 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200513/bb920440/attachment.bin>


More information about the llvm-commits mailing list