[lld] r332134 - Update test to not check for output file

Rumeet Dhindsa via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 13:28:46 PDT 2018


Author: rdhindsa
Date: Fri May 11 13:28:45 2018
New Revision: 332134

URL: http://llvm.org/viewvc/llvm-project?rev=332134&view=rev
Log:
Update test to not check for output file

Differential Revision: https://reviews.llvm.org/D46771

Modified:
    lld/trunk/test/ELF/lto/thinlto-index-only.ll

Modified: lld/trunk/test/ELF/lto/thinlto-index-only.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/ELF/lto/thinlto-index-only.ll?rev=332134&r1=332133&r2=332134&view=diff
==============================================================================
--- lld/trunk/test/ELF/lto/thinlto-index-only.ll (original)
+++ lld/trunk/test/ELF/lto/thinlto-index-only.ll Fri May 11 13:28:45 2018
@@ -24,9 +24,10 @@
 ; RUN: not test -e %t4
 
 ; Ensure lld generates an index even if the file is wrapped in --start-lib/--end-lib
-; RUN: rm -f %t2.o.thinlto.bc
-; RUN: ld.lld -m elf_x86_64 --plugin-opt=thinlto-index-only -shared %t1.o %t3.o --start-lib %t2.o --end-lib -o %t
+; RUN: rm -f %t2.o.thinlto.bc %t4
+; RUN: ld.lld -m elf_x86_64 --plugin-opt=thinlto-index-only -shared %t1.o %t3.o --start-lib %t2.o --end-lib -o %t4
 ; RUN: ls %t2.o.thinlto.bc
+; RUN: not test -e %t4
 
 ; NM: T f
 




More information about the llvm-commits mailing list