[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:27:02 PDT 2018


rdhindsa created this revision.
rdhindsa added a reviewer: ruiu.
Herald added subscribers: llvm-commits, eraman, arichardson, emaste.
Herald added a reviewer: espindola.

Update test to not check for output file


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D46771

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


Index: lld/test/ELF/lto/thinlto-index-only.ll
===================================================================
--- lld/test/ELF/lto/thinlto-index-only.ll
+++ lld/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.146401.patch
Type: text/x-patch
Size: 695 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180511/be7835c3/attachment.bin>


More information about the llvm-commits mailing list