Skip to content

Commit a78a298

Browse files
authored
Merge pull request #25244 from compnerd/independence-day
validation-test: refactor the test invocation (NFC)
2 parents 50a8567 + db9a6ca commit a78a298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

validation-test/execution/dsohandle-multi-module.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %empty-directory(%t)
22

3-
// RUN: (cd %t && %target-build-swift %S/Inputs/dsohandle-first.swift -emit-library -emit-module -module-name first -Xlinker -install_name -Xlinker '@executable_path/libfirst.dylib')
4-
// RUN: (cd %t && %target-build-swift %S/Inputs/dsohandle-second.swift -emit-library -emit-module -module-name second -Xlinker -install_name -Xlinker '@executable_path/libsecond.dylib')
3+
// RUN: %target-build-swift-dylib(%t/%target-library-name(first)) %S/Inputs/dsohandle-first.swift -emit-module -module-name first
4+
// RUN: %target-build-swift-dylib(%t/%target-library-name(second)) %S/Inputs/dsohandle-second.swift -emit-module -module-name second
55
// RUN: %target-build-swift -I %t -L %t -lfirst -lsecond %s -o %t/main
66
// RUN: %target-codesign %t/main %t/%target-library-name(first) %t/%target-library-name(second)
77
// RUN: %target-run %t/main %t/%target-library-name(first) %t/%target-library-name(second)

0 commit comments

Comments
 (0)