File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
test/AutoDiff/validation-test Expand file tree Collapse file tree 1 file changed +5
-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 -parse-as-library -emit-module -module-name cross_module_differentiation_other -emit-module-path %t/cross_module_differentiation_other.swiftmodule -emit-library -static %S/Inputs/cross_module_differentiation_other.swift
3
- // RUN: %target-build-swift -I%t -L%t %s -o %t/a.out -lcross_module_differentiation_other
4
- // RUN: %target-run %t/a.out
2
+ // RUN: %target-build-swift-dylib(%t/%target-library-name(cross_module_differentiation_other)) %S/Inputs/cross_module_differentiation_other.swift -emit-module -emit-module-path %t/cross_module_differentiation_other.swiftmodule -module-name cross_module_differentiation_other
3
+ // RUN: %target-build-swift -I%t -L%t %s -o %t/a.out -lcross_module_differentiation_other %target-rpath(%t)
4
+ // RUN: %target-codesign %t/a.out
5
+ // RUN: %target-codesign %t/%target-library-name(cross_module_differentiation_other)
6
+ // RUN: %target-run %t/a.out %t/%target-library-name(cross_module_differentiation_other)
5
7
// REQUIRES: executable_test
6
8
7
9
// TF-1025: Test differentiability witness linkage for `PublicNonABI` original functions.
You can’t perform that action at this time.
0 commit comments