File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
test/AutoDiff/validation-test Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
// RUN: %empty-directory(%t)
2
- // RUN: %target-build-swift -working-directory %t -I%t -parse-as-library -emit-module -module-name module1 -emit-module-path %t/module1.swiftmodule -emit-library -static %S/Inputs/cross_module_derivative_attr/module1/module1.swift %S/Inputs/cross_module_derivative_attr/module1/module1_other_file.swift -Xfrontend -validate-tbd-against-ir=none
3
- // RUN: %target-build-swift -I%t -L%t %S/Inputs/cross_module_derivative_attr/main/main.swift -o %t/a.out -lm -lmodule1 -Xfrontend -validate-tbd-against-ir=none
4
- // RUN: %target-run %t/a.out
2
+ // RUN: %target-build-swift-dylib(%t/%target-library-name(module1)) %S/Inputs/cross_module_derivative_attr/module1/module1.swift %S/Inputs/cross_module_derivative_attr/module1/module1_other_file.swift -emit-module -emit-module-path %t/module1.swiftmodule -module-name module1
3
+ // -Xfrontend -validate-tbd-against-ir=none
4
+ // RUN: %target-build-swift -I%t -L%t %S/Inputs/cross_module_derivative_attr/main/main.swift -o %t/a.out -lmodule1 %target-rpath(%t)
5
+ // -Xfrontend -validate-tbd-against-ir=none
6
+ // RUN: %target-codesign %t/a.out
7
+ // RUN: %target-codesign %t/%target-library-name(module1)
8
+ // RUN: %target-run %t/a.out %t/%target-library-name(module1)
5
9
// REQUIRES: executable_test
You can’t perform that action at this time.
0 commit comments