File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 58
58
// Test that <sdk-root>/target/lib is added to library search paths, if it
59
59
// exists and no --sysroot is specified.
60
60
61
- // RUN: rm -rf %t.dir && mkdir -p %t.dir/target/lib
61
+ // RUN: rm -rf %t.dir && mkdir %t.dir
62
+ // RUN: env SCE_PROSPERO_SDK_DIR=%t.dir %clang --target=x64_64-sie-ps5 %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-TARGETLIB %s
63
+ // RUN: env SCE_PROSPERO_SDK_DIR=%t.dir %clang --target=x64_64-sie-ps5 %s -### --sysroot=%t.dir 2>&1 | FileCheck --check-prefixes=CHECK-NO-TARGETLIB %s
64
+
65
+ // CHECK-NO-TARGETLIB: {{ld(\.exe)?}}"
66
+ // CHECK-NO-TARGETLIB-NOT: "-L{{.*[/\\]}}target/lib"
67
+
68
+ // RUN: mkdir -p %t.dir/target/lib
62
69
// RUN: env SCE_PROSPERO_SDK_DIR=%t.dir %clang --target=x64_64-sie-ps5 %s -### 2>&1 | FileCheck --check-prefixes=CHECK-TARGETLIB %s
63
70
64
71
// CHECK-TARGETLIB: {{ld(\.exe)?}}"
65
72
// CHECK-TARGETLIB-SAME: "-L{{.*[/\\]}}target/lib"
66
-
67
- // RUN: env SCE_PROSPERO_SDK_DIR=missing %clang --target=x64_64-sie-ps5 %s -### 2>&1 | FileCheck --check-prefixes=CHECK-NO-TARGETLIB %s
68
- // RUN: env SCE_PROSPERO_SDK_DIR=%t.dir %clang --target=x64_64-sie-ps5 %s -### --sysroot=missing 2>&1 | FileCheck --check-prefixes=CHECK-NO-TARGETLIB %s
69
-
70
- // CHECK-NO-TARGETLIB: {{ld(\.exe)?}}"
71
- // CHECK-NO-TARGETLIB-NOT: "-L{{.*[/\\]}}target/lib"
You can’t perform that action at this time.
0 commit comments