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 99// Compile the module.
1010
1111// 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
1313
1414// Next, check that differentiability_witness_functions in the client get
1515// correctly modified by LBA.
2626
2727// Finally, execute the test.
2828
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)
3133
3234// REQUIRES: executable_test
3335
You can’t perform that action at this time.
0 commit comments