File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ final class LinuxMainGenerator {
48
48
// Generate manifest file for each test module we got from XCTest discovery.
49
49
for module in modules. lazy. sorted ( by: { $0. name < $1. name } ) {
50
50
guard let target = graph. reachableTargets. first ( where: { $0. c99name == module. name } ) else {
51
- print ( " warning: did not file target ' \( module. name) ' " )
51
+ print ( " warning: did not find target ' \( module. name) ' " )
52
52
continue
53
53
}
54
54
assert ( target. type == . test, " Unexpected target type \( target. type) for \( target) " )
@@ -168,9 +168,8 @@ private final class ModulesBuilder {
168
168
for testCase in cases {
169
169
let ( module, theKlass) = testCase. name. split ( around: " . " )
170
170
guard let klass = theKlass else {
171
- // This should only happen if there are no tests in the test case .
171
+ // Ignore the classes that have zero tests.
172
172
if testCase. tests. isEmpty {
173
- print ( " warning: \( testCase. name) does not contain any tests " )
174
173
continue
175
174
}
176
175
fatalError ( " unreachable \( testCase. name) " )
You can’t perform that action at this time.
0 commit comments