Skip to content

Commit 6a910ba

Browse files
committed
Try fixing issues on Linux
1 parent e31bb87 commit 6a910ba

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

libcxx/test/libcxx/vendor/llvm/system-install-properties.sh.cpp

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,24 @@
88

99
// REQUIRES: stdlib=libc++ && !stdlib=apple-libc++
1010

11+
// DEFINE: %{shared-suffix}=%if target={{.+}}-apple-{{.+}} %{ dylib %} %else %{ so %}
12+
1113
// This file checks various properties of the installation of libc++ when built under
1214
// a vanilla upstream configuration.
1315

16+
// TODO: temporary to debug
17+
// RUN: ls %{lib-dir}
18+
1419
// Make sure we install the libc++ headers in the right location.
1520
//
1621
// RUN: stat "%{include-dir}/__config"
1722

1823
// Make sure we install libc++.1.dylib and libc++experimental.a in the right location.
1924
//
20-
// RUN: stat "%{lib-dir}/libc++.1.dylib"
25+
// RUN: stat "%{lib-dir}/libc++.1.%{shared-suffix}"
2126
// RUN: stat "%{lib-dir}/libc++experimental.a"
2227

2328
// Make sure we install a symlink from libc++.dylib to libc++.1.dylib.
2429
//
25-
// RUN: stat "%{lib-dir}/libc++.dylib"
26-
// RUN: readlink "%{lib-dir}/libc++.dylib" | grep "libc++.1.dylib"
30+
// RUN: stat "%{lib-dir}/libc++.%{shared-suffix}"
31+
// RUN: readlink "%{lib-dir}/libc++.%{shared-suffix}" | grep "libc++.1.%{shared-suffix}"

0 commit comments

Comments
 (0)