File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 2
2
3
3
// RUN: %empty-directory(%t)
4
4
5
- // RUN: %target-swift-frontend -c -sdk /fake/sdk/path - Xcc -DA -Xcc -DB -emit-module -o %t %S/ASTSection.swift -swift-version 4
5
+ // RUN: %target-swift-frontend -c -Xcc -DA -Xcc -DB -emit-module -o %t %S/ASTSection.swift -swift-version 4
6
6
// RUN: %swift-ide-test -test-CompilerInvocation-from-module -source-filename=%t/ASTSection.swiftmodule
7
7
8
8
// Test the inline section mechanism.
9
- // RUN: %target-ld %t/ASTSection.o -sectcreate __DWARF __swift_ast %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -dylib -lSystem -lobjc
9
+ // RUN: %target-ld %t/ASTSection.o -sectcreate __DWARF __swift_ast %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -dylib -L%sdk/usr/lib - lSystem -lobjc
10
10
// RUN: %lldb-moduleimport-test -verbose %t/ASTSection.dylib | %FileCheck %s
11
11
12
12
// Test the symbol table entry.
13
- // RUN: %target-ld %t/ASTSection.o -add_ast_path %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -dylib -lSystem -lobjc
13
+ // RUN: %target-ld %t/ASTSection.o -add_ast_path %t/ASTSection.swiftmodule -o %t/ASTSection.dylib -dylib -L%sdk/usr/lib - lSystem -lobjc
14
14
// RUN: %lldb-moduleimport-test -verbose %t/ASTSection.dylib | %FileCheck %s
15
15
16
16
// REQUIRES: OS=macosx
17
17
18
18
// CHECK: - Swift Version: {{.+}}.{{.+}}
19
19
// CHECK: - Compatibility Version: 4
20
20
// CHECK: - Target: {{.+}}-{{.+}}-{{.+}}
21
- // CHECK: - SDK path: /fake/sdk/path{{$}}
21
+ // CHECK: - SDK path: {{.*}}MacOS{{.*}}.sdk
22
22
// CHECK: - -Xcc options: -working-directory {{.+}} -DA -DB
23
23
// CHECK: Importing ASTSection... ok!
You can’t perform that action at this time.
0 commit comments