[llvm] r289503 - [LIT] Fix system-windows

Chris Bieneman via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 12 16:29:56 PST 2016


Author: cbieneman
Date: Mon Dec 12 18:29:56 2016
New Revision: 289503

URL: http://llvm.org/viewvc/llvm-project?rev=289503&view=rev
Log:
[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.

Modified:
    llvm/trunk/test/tools/llvm-config/system-libs.test
    llvm/trunk/test/tools/llvm-symbolizer/coff-dwarf.test

Modified: llvm/trunk/test/tools/llvm-config/system-libs.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-config/system-libs.test?rev=289503&r1=289502&r2=289503&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-config/system-libs.test (original)
+++ llvm/trunk/test/tools/llvm-config/system-libs.test Mon Dec 12 18:29:56 2016
@@ -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

Modified: llvm/trunk/test/tools/llvm-symbolizer/coff-dwarf.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-symbolizer/coff-dwarf.test?rev=289503&r1=289502&r2=289503&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-symbolizer/coff-dwarf.test (original)
+++ llvm/trunk/test/tools/llvm-symbolizer/coff-dwarf.test Mon Dec 12 18:29:56 2016
@@ -3,7 +3,7 @@ RUN:     | llvm-symbolizer --inlining --
 RUN:     | FileCheck %s
 
 This test relies on UnDecorateSymbolName, which is Windows-only.
-REQUIRES: system-windows
+REQUIRES: target-windows
 
 ADDR: 0x5009
 ADDR: 0x5038




More information about the llvm-commits mailing list