From 8738786bc1a8655b38da7d073b635d042918139c Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Mon, 22 Aug 2016 10:49:37 +0000 Subject: [PATCH] [ThinLTO][X86] Fix windows build 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 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/llvm/test/ThinLTO/X86/emit_imports.ll b/llvm/test/ThinLTO/X86/emit_imports.ll index 5d11d15..a8215d5 100644 --- a/llvm/test/ThinLTO/X86/emit_imports.ll +++ b/llvm/test/ThinLTO/X86/emit_imports.ll @@ -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, \ -- 2.7.4