[PATCH] D46771: Update test to not check for output file

Rumeet Dhindsa via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 11 13:32:27 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rLLD332134: Update test to not check for output file (authored by rdhindsa, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D46771?vs=146401&id=146402#toc

Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46771

Files:
  test/ELF/lto/thinlto-index-only.ll


Index: test/ELF/lto/thinlto-index-only.ll
===================================================================
--- test/ELF/lto/thinlto-index-only.ll
+++ test/ELF/lto/thinlto-index-only.ll
@@ -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
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46771.146402.patch
Type: text/x-patch
Size: 683 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180511/21d20b07/attachment.bin>


More information about the llvm-commits mailing list