[lld] r248843 - ELF2: Make default-output.s test idempotent.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 15:57:22 PDT 2015
Author: ruiu
Date: Tue Sep 29 17:57:22 2015
New Revision: 248843
URL: http://llvm.org/viewvc/llvm-project?rev=248843&view=rev
Log:
ELF2: Make default-output.s test idempotent.
This test failed if being run more than once because of the
remaining file of the last run.
Modified:
lld/trunk/test/elf2/default-output.s
Modified: lld/trunk/test/elf2/default-output.s
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/elf2/default-output.s?rev=248843&r1=248842&r2=248843&view=diff
==============================================================================
--- lld/trunk/test/elf2/default-output.s (original)
+++ lld/trunk/test/elf2/default-output.s Tue Sep 29 17:57:22 2015
@@ -4,6 +4,7 @@
# RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t
# RUN: mkdir -p %t.dir
# RUN: cd %t.dir
+# RUN: rm -f a.out
# RUN: not test -e a.out
# RUN: lld -flavor gnu2 %t
# RUN: test -e a.out
More information about the llvm-commits
mailing list