[llvm] r184424 - Make sure ar is creating a new file instead of updating an existing one.
Rafael Espindola
rafael.espindola at gmail.com
Thu Jun 20 06:44:49 PDT 2013
Author: rafael
Date: Thu Jun 20 08:44:49 2013
New Revision: 184424
URL: http://llvm.org/viewvc/llvm-project?rev=184424&view=rev
Log:
Make sure ar is creating a new file instead of updating an existing one.
Should fix the bots that are seeing a corrupted file from a previous run.
Modified:
llvm/trunk/test/Object/nm-archive.test
Modified: llvm/trunk/test/Object/nm-archive.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/nm-archive.test?rev=184424&r1=184423&r2=184424&view=diff
==============================================================================
--- llvm/trunk/test/Object/nm-archive.test (original)
+++ llvm/trunk/test/Object/nm-archive.test Thu Jun 20 08:44:49 2013
@@ -1,6 +1,7 @@
RUN: llvm-nm %p/Inputs/archive-test.a-coff-i386 \
RUN: | FileCheck %s -check-prefix COFF
RUN: llvm-as %p/Inputs/trivial.ll -o=%t1
+RUN: rm -f %t2
RUN: llvm-ar rcs %t2 %t1
RUN: llvm-nm %t2 | FileCheck %s -check-prefix BITCODE
More information about the llvm-commits
mailing list