Commit ad1edc2
committed
Reverts #7352.
Modified to build tests for the host triple when any macros are added to test modules directly as dependencies.
(cherry picked from commit cb3b085)
# Conflicts:
# CHANGELOG.md
# Sources/Build/BuildDescription/SwiftTargetBuildDescription.swift
# Sources/Build/BuildManifest/LLBuildManifestBuilder.swift
# Sources/Build/BuildPlan/BuildPlan.swift
# Sources/Commands/SwiftTestCommand.swift
# Sources/Commands/Utilities/PluginDelegate.swift
# Sources/Commands/Utilities/TestingSupport.swift
# Sources/PackageGraph/ModulesGraph+Loading.swift
# Sources/PackageGraph/ModulesGraph.swift
# Sources/SPMTestSupport/MockBuildTestHelper.swift
# Sources/SPMTestSupport/MockPackageGraphs.swift
# Sources/SPMTestSupport/PackageGraphTester.swift
# Sources/SPMTestSupport/ResolvedTarget+Mock.swift
# Tests/BuildTests/ClangTargetBuildDescriptionTests.swift
# Tests/BuildTests/CrossCompilationBuildPlanTests.swift
# Tests/SourceKitLSPAPITests/SourceKitLSPAPITests.swift
1 parent 9afe748 commit ad1edc2
File tree
53 files changed
+1393
-462
lines changed- Sources
- Basics/Collections
- Build
- BuildDescription
- BuildManifest
- BuildPlan
- Commands
- PackageCommands
- Utilities
- PackageGraph
- Resolution
- PackageModel/Target
- SPMBuildCore
- BuildParameters
- BuildSystem
- Plugins
- SPMTestSupport
- Tests
- BuildTests
- CommandsTests
- PackageGraphPerformanceTests
- PackageGraphTests
- SPMBuildCoreTests
- SourceKitLSPAPITests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
53 files changed
+1393
-462
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
| 36 | + | |
32 | 37 | | |
33 | 38 | | |
34 | 39 | | |
35 | 40 | | |
36 | | - | |
| 41 | + | |
37 | 42 | | |
38 | 43 | | |
39 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
57 | 66 | | |
58 | 67 | | |
59 | 68 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
325 | | - | |
| 325 | + | |
326 | 326 | | |
327 | 327 | | |
328 | 328 | | |
| |||
357 | 357 | | |
358 | 358 | | |
359 | 359 | | |
360 | | - | |
| 360 | + | |
361 | 361 | | |
362 | 362 | | |
363 | 363 | | |
| |||
Lines changed: 23 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments