[Lldb-commits] [PATCH] D61752: Re-enable a test for non-Windows

Paul Robinson via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 12:24:59 PDT 2019


probinson created this revision.
probinson added reviewers: stella.stamenova, labath.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Required teaching lit.cfg.py to distinguish Windows the same way other projects do.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D61752

Files:
  lldb/lit/Breakpoint/case-sensitive.test
  lldb/lit/lit.cfg.py


Index: lldb/lit/lit.cfg.py
===================================================================
--- lldb/lit/lit.cfg.py
+++ lldb/lit/lit.cfg.py
@@ -96,3 +96,7 @@
                 config.available_features.add('native-cpu-%s' % x)
         else:
             lit_config.warning("lit-cpuid failed: %s" % err)
+
+# Allow distinguishing Windows host from others.
+if sys.platform.startswith('win') or sys.platform.startswith('cygwin'):
+    config.available_features.add('windows')
Index: lldb/lit/Breakpoint/case-sensitive.test
===================================================================
--- lldb/lit/Breakpoint/case-sensitive.test
+++ lldb/lit/Breakpoint/case-sensitive.test
@@ -1,4 +1,4 @@
-# REQUIRES: nowindows
+# UNSUPPORTED: windows
 #
 # RUN: %build %p/Inputs/case-sensitive.c --nodefaultlib -o %t
 # RUN: lldb-test breakpoints %t %s | FileCheck %s


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61752.198883.patch
Type: text/x-patch
Size: 860 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190509/8d88ed56/attachment.bin>


More information about the lldb-commits mailing list