]> granicus.if.org Git - llvm/commitdiff
Make test not write to source directory
authorNico Weber <nicolasweber@gmx.de>
Mon, 10 Jun 2019 01:47:04 +0000 (01:47 +0000)
committerNico Weber <nicolasweber@gmx.de>
Mon, 10 Jun 2019 01:47:04 +0000 (01:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362916 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-lib/machine-mismatch.test

index b1a6ca93c09bf433e673630b95ffa83590317c47..7031b4dfbb3abf79765a2d067b2a9a3287861127 100644 (file)
@@ -16,8 +16,8 @@ RUN: llvm-lib %t/x86_64.obj %t/x86_64.bc
 
 As is including resource files:
 
-RUN: llvm-lib %S/Inputs/resource.res %t/i386.obj %t/i386.bc
-RUN: llvm-lib %t/x86_64.obj %S/Inputs/resource.res %t/x86_64.bc
+RUN: llvm-lib /out:%t.lib %S/Inputs/resource.res %t/i386.obj %t/i386.bc
+RUN: llvm-lib /out:%t.lib %t/x86_64.obj %S/Inputs/resource.res %t/x86_64.bc
 
 
 Mixing object files with different machine type is not ok: