From 7ca9e064288ce148c84b9fdec9b080d2c79dddd6 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Tue, 13 Dec 2016 00:29:56 +0000 Subject: [PATCH] [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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289503 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/llvm-config/system-libs.test | 2 +- test/tools/llvm-symbolizer/coff-dwarf.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tools/llvm-config/system-libs.test b/test/tools/llvm-config/system-libs.test index c7f2470e95b..6a1f3e39fa1 100644 --- a/test/tools/llvm-config/system-libs.test +++ b/test/tools/llvm-config/system-libs.test @@ -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 diff --git a/test/tools/llvm-symbolizer/coff-dwarf.test b/test/tools/llvm-symbolizer/coff-dwarf.test index 043c175a8d3..9611c891197 100644 --- a/test/tools/llvm-symbolizer/coff-dwarf.test +++ b/test/tools/llvm-symbolizer/coff-dwarf.test @@ -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 -- 2.50.0