[ThinLTO][X86] Fix windows build
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 22 Aug 2016 10:49:37 +0000 (10:49 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Mon, 22 Aug 2016 10:49:37 +0000 (10:49 +0000)
Windows 'rm' complains about non-existent files if a wildcard is used. Be more explicit about the files deleted to avoid this.

llvm-svn: 279426

llvm/test/ThinLTO/X86/emit_imports.ll

index 5d11d15..a8215d5 100644 (file)
@@ -12,7 +12,8 @@
 ; The imports file for Input/emit_imports.ll is empty as it does not import anything.
 ; RUN: cat %t2.bc.imports | count 0
 
-; RUN: rm -f %t*.thinlto.bc %t*.bc.imports
+; RUN: rm -f %t1.thinlto.bc %t1.bc.imports
+; RUN: rm -f %t2.thinlto.bc %t2.bc.imports
 ; RUN: llvm-lto2 %t1.bc %t2.bc -o %t.o \
 ; RUN:     -thinlto-distributed-indexes \
 ; RUN:     -r=%t1.bc,g, \