We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d2cf77 commit a6fd23cCopy full SHA for a6fd23c
Tests/FunctionalTests/MiscellaneousTests.swift
@@ -537,6 +537,20 @@ class MiscellaneousTestCase: XCTestCase {
537
}
538
539
540
+ func testTestsCanLinkAgainstExecutable() {
541
+ fixture(name: "Miscellaneous/ExeTest") { prefix in
542
+ do {
543
+ let (stdout, _) = try executeSwiftTest(prefix)
544
+ XCTAssertMatch(stdout, .contains("Compiling Exe main.swift"))
545
+ XCTAssertMatch(stdout, .contains("Compiling ExeTests ExeTests.swift"))
546
+ XCTAssertMatch(stdout, .contains("Eliding symbols from Exe_main.swift.o"))
547
+ XCTAssertMatch(stdout, .contains("Linking ExeTestPackageTests"))
548
+ } catch {
549
+ XCTFail()
550
+ }
551
552
553
+
554
func testExecutableTargetMismatch() {
555
fixture(name: "Miscellaneous/TargetMismatch") { path in
556
do {
0 commit comments