File tree Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Expand file tree Collapse file tree 2 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -43,10 +43,10 @@ final class LinuxMainGenerator {
43
43
for suite in testSuites {
44
44
modulesBuilder. add ( suite. tests)
45
45
}
46
- let modules = modulesBuilder. build ( )
46
+ let modules = modulesBuilder. build ( ) . sorted ( by : { $0 . name < $1 . name } )
47
47
48
48
// Generate manifest file for each test module we got from XCTest discovery.
49
- for module in modules. lazy . sorted ( by : { $0 . name < $1 . name } ) {
49
+ for module in modules {
50
50
guard let target = graph. reachableTargets. first ( where: { $0. c99name == module. name } ) else {
51
51
print ( " warning: did not find target ' \( module. name) ' " )
52
52
continue
Original file line number Diff line number Diff line change 1
1
import XCTest
2
2
3
- import UtilityTests
4
3
import BasicTests
5
4
import BuildTests
6
5
import CommandsTests
7
6
import FunctionalTests
8
- import PackageGraphTests
9
7
import POSIXTests
10
- import XcodeprojTests
11
- import SourceControlTests
12
- import WorkspaceTests
13
8
import PackageDescription4Tests
9
+ import PackageGraphTests
14
10
import PackageLoadingTests
15
11
import PackageModelTests
12
+ import SourceControlTests
16
13
import TestSupportTests
14
+ import UtilityTests
15
+ import WorkspaceTests
16
+ import XcodeprojTests
17
17
18
18
var tests = [ XCTestCaseEntry] ( )
19
- tests += UtilityTests . __allTests ( )
20
19
tests += BasicTests . __allTests ( )
21
20
tests += BuildTests . __allTests ( )
22
21
tests += CommandsTests . __allTests ( )
23
22
tests += FunctionalTests . __allTests ( )
24
- tests += PackageGraphTests . __allTests ( )
25
23
tests += POSIXTests . __allTests ( )
26
- tests += XcodeprojTests . __allTests ( )
27
- tests += SourceControlTests . __allTests ( )
28
- tests += WorkspaceTests . __allTests ( )
29
24
tests += PackageDescription4Tests . __allTests ( )
25
+ tests += PackageGraphTests . __allTests ( )
30
26
tests += PackageLoadingTests . __allTests ( )
31
27
tests += PackageModelTests . __allTests ( )
28
+ tests += SourceControlTests . __allTests ( )
32
29
tests += TestSupportTests . __allTests ( )
30
+ tests += UtilityTests . __allTests ( )
31
+ tests += WorkspaceTests . __allTests ( )
32
+ tests += XcodeprojTests . __allTests ( )
33
33
34
34
XCTMain ( tests)
You can’t perform that action at this time.
0 commit comments