[lld] r274752 - This now works on unix too.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 7 06:52:05 PDT 2016


Author: rafael
Date: Thu Jul  7 08:52:04 2016
New Revision: 274752

URL: http://llvm.org/viewvc/llvm-project?rev=274752&view=rev
Log:
This now works on unix too.

With this there are no unsupported tests on linux in test/ELF :-)

Modified:
    lld/trunk/test/ELF/reproduce-windows.s
    lld/trunk/test/lit.cfg

Modified: lld/trunk/test/ELF/reproduce-windows.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/reproduce-windows.s?rev=274752&r1=274751&r2=274752&view=diff
==============================================================================
--- lld/trunk/test/ELF/reproduce-windows.s (original)
+++ lld/trunk/test/ELF/reproduce-windows.s Thu Jul  7 08:52:04 2016
@@ -1,6 +1,6 @@
-# REQUIRES: x86, system-windows
+# REQUIRES: x86
 
-# Test that we can create a repro archive on windows.
+# Test that a repro archive always uses / instead of \.
 # RUN: rm -rf %t.dir
 # RUN: mkdir -p %t.dir/build
 # RUN: llvm-mc %s -o %t.dir/build/foo.o -filetype=obj -triple=x86_64-pc-linux

Modified: lld/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/lit.cfg?rev=274752&r1=274751&r2=274752&view=diff
==============================================================================
--- lld/trunk/test/lit.cfg (original)
+++ lld/trunk/test/lit.cfg Thu Jul  7 08:52:04 2016
@@ -199,10 +199,6 @@ if config.have_zlib == "1":
 if platform.system() in ['Darwin']:
     config.available_features.add('system-linker-mach-o')
 
-# Running on Windows
-if platform.system() in ['Windows'] and re.match(r'.*-win32$', config.target_triple):
-    config.available_features.add('system-windows')
-
 # Running on ELF based *nix
 if platform.system() in ['FreeBSD', 'Linux']:
     config.available_features.add('system-linker-elf')




More information about the llvm-commits mailing list