Use correct escaping for semicolon on Windows.
authorPeter Collingbourne <peter@pcc.me.uk>
Sat, 20 Jun 2015 01:28:20 +0000 (01:28 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sat, 20 Jun 2015 01:28:20 +0000 (01:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240207 91177308-0d34-0410-b5e6-96231b3b80d8

test/LibDriver/libpath.test

index 22d4f58..2cfca24 100644 (file)
@@ -2,7 +2,7 @@ RUN: mkdir -p %T/a %T/b
 RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/a/foo.obj %S/Inputs/a.s
 RUN: llvm-mc -triple=x86_64-pc-windows-msvc -filetype=obj -o %T/b/foo.obj %S/Inputs/b.s
 
-RUN: env LIB=%T/a\;%T/b llvm-lib /out:%t1.lib foo.obj
+RUN: env "LIB=%T/a;%T/b" llvm-lib /out:%t1.lib foo.obj
 RUN: llvm-nm %t1.lib | FileCheck --check-prefix=A %s
 
 RUN: llvm-lib /out:%t2.lib /libpath:%T/a /libpath:%T/b foo.obj