File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 9
9
// Compile the module.
10
10
11
11
// RUN: %empty-directory(%t)
12
- // RUN: %target-build-swift -working-directory %t -parse-as- library -emit-module -module-name external - emit-module-path %t/external.swiftmodule -emit-library -static %S/Inputs/loadable_by_address_cross_module.swift
12
+ // RUN: %target-build-swift-dylib(%t/%target- library-name(external)) %S/Inputs/loadable_by_address_cross_module.swift -emit-module -emit-module-path %t/external.swiftmodule -module-name external
13
13
14
14
// Next, check that differentiability_witness_functions in the client get
15
15
// correctly modified by LBA.
26
26
27
27
// Finally, execute the test.
28
28
29
- // RUN: %target-build-swift -I%t -L%t %s -o %t/a.out -lm -lexternal
30
- // RUN: %target-run %t/a.out
29
+ // RUN: %target-build-swift -I%t -L%t %s -o %t/a.out %target-rpath(%t) -L%t -lexternal
30
+ // RUN: %target-codesign %t/a.out
31
+ // RUN: %target-codesign %t/%target-library-name(external)
32
+ // RUN: %target-run %t/a.out %t/%target-library-name(external)
31
33
32
34
// REQUIRES: executable_test
33
35
You can’t perform that action at this time.
0 commit comments