[LIT] Fix system-windows

Turns out if you were on windows and your default target wasn't windows the system-windows feature wasn't getting enabled.

This fixes that and updates the coff-dwarf test to rely on the new "target-windows" feature. That test was the reason why system-windows was changed to not always be enabled on Windows hosts.

llvm-svn: 289503
This commit is contained in:
Chris Bieneman 2016-12-13 00:29:56 +00:00
parent 5a7c5069da
commit a0523fd0cd
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
RUN: llvm-config --system-libs 2>&1 | FileCheck %s
UNSUPPORTED: win32
UNSUPPORTED: system-windows
CHECK: -l
CHECK-NOT: error
CHECK-NOT: warning

View File

@ -3,7 +3,7 @@ RUN: | llvm-symbolizer --inlining --relative-address -obj="%p/Inputs/coff-dw
RUN: | FileCheck %s
This test relies on UnDecorateSymbolName, which is Windows-only.
REQUIRES: system-windows
REQUIRES: target-windows
ADDR: 0x5009
ADDR: 0x5038