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
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
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits