Skip to content

Commit

Permalink
[SYCL] Stabilize LIT tests in different environments
Browse files Browse the repository at this point in the history
 - llvm-foreach-win.ll use xcopy instead copy to get the same results in
   Windows and MINGW console (copy is not available in MINGW).
  • Loading branch information
vladimirlaz committed May 26, 2020
1 parent dbbc474 commit db3e5a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/test/tools/llvm-foreach/llvm-foreach-win.ll
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
; CHECK: [[FIRST:.+1.tgt]]
; CHECK: [[SECOND:.+2.tgt]]
;
; RUN: llvm-foreach --in-replace="{}" --out-replace=%t --out-ext=out --in-file-list=%t.list --out-file-list=%t.out.list -- copy "{}" %t
; RUN: llvm-foreach --in-replace="{}" --out-replace=%t --out-ext=out --in-file-list=%t.list --out-file-list=%t.out.list -- xcopy /y "{}" %t
; RUN: FileCheck < %t.out.list %s --check-prefix=CHECK-LIST
; CHECK-LIST: [[FIRST:.+\.out]]
; CHECK-LIST: [[SECOND:.+\.out]]
Expand Down

0 comments on commit db3e5a6

Please sign in to comment.