1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/LibDriver/libpath.test
Peter Collingbourne e41720cb1c Use correct escaping for semicolon on Windows.
llvm-svn: 240207
2015-06-20 01:28:20 +00:00

16 lines
557 B
Plaintext

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: llvm-nm %t1.lib | FileCheck --check-prefix=A %s
RUN: llvm-lib /out:%t2.lib /libpath:%T/a /libpath:%T/b foo.obj
RUN: llvm-nm %t2.lib | FileCheck --check-prefix=A %s
RUN: env LIB=%T/a llvm-lib /libpath:%T/b /out:%t3.lib foo.obj
RUN: llvm-nm %t3.lib | FileCheck --check-prefix=B %s
A: T a
B: T b