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 4a549d7 commit d7c6ca1Copy full SHA for d7c6ca1
Tests/Functional/TestClangModules.swift
@@ -67,7 +67,10 @@ class TestClangModulesTestCase: XCTestCase {
67
func testCExecutable() {
68
fixture(name: "ValidLayouts/SingleModule/CExecutable") { prefix in
69
XCTAssertBuilds(prefix)
70
- XCTAssertFileExists(prefix, ".build/debug/CExecutable")
+ let exec = ".build/debug/CExecutable"
71
+ XCTAssertFileExists(prefix, exec)
72
+ let output = try popen([Path.join(prefix, exec)])
73
+ XCTAssertEqual(output, "hello 5")
74
}
75
76
0 commit comments