[lld] r245214 - COFF: Fix a broken test.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 17 04:06:21 PDT 2015


Author: ruiu
Date: Mon Aug 17 06:06:21 2015
New Revision: 245214

URL: http://llvm.org/viewvc/llvm-project?rev=245214&view=rev
Log:
COFF: Fix a broken test.

This test couldn't be run more than once because lib.exe does not work
if the files already exist.

Modified:
    lld/trunk/test/COFF/dllorder.test

Modified: lld/trunk/test/COFF/dllorder.test
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/COFF/dllorder.test?rev=245214&r1=245213&r2=245214&view=diff
==============================================================================
--- lld/trunk/test/COFF/dllorder.test (original)
+++ lld/trunk/test/COFF/dllorder.test Mon Aug 17 06:06:21 2015
@@ -2,6 +2,8 @@
 
 # RUN: yaml2obj < %s > %t.obj
 # RUN: mkdir -p %tlib
+# RUN: rm -f %tlib/lib1.lib
+# RUN: rm -f %tlib/lib2.lib
 
 # RUN: echo EXPORTS sym1 > %t1.def
 # RUN: lib /nologo /def:%t1.def /out:%tlib\\lib1.lib > /dev/null




More information about the llvm-commits mailing list