File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Tests/SwiftSDKGeneratorTests Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -185,6 +185,12 @@ struct SDKConfiguration {
185
185
return res
186
186
}
187
187
188
+ func withLinuxDistributionVersion( _ version: String ) -> SDKConfiguration {
189
+ var res = self
190
+ res. linuxDistributionVersion = version
191
+ return res
192
+ }
193
+
188
194
func withArchitecture( _ arch: String ) -> SDKConfiguration {
189
195
var res = self
190
196
res. architecture = arch
@@ -475,6 +481,30 @@ final class Swift61_UbuntuEndToEndTests: XCTestCase {
475
481
try skipSlow ( )
476
482
try await buildTestcases ( config: config. withArchitecture ( " x86_64 " ) . withDocker ( ) )
477
483
}
484
+
485
+ func testJammyAarch64Direct( ) async throws {
486
+ try skipSlow ( )
487
+ try await buildTestcases (
488
+ config: config. withArchitecture ( " aarch64 " ) . withLinuxDistributionVersion ( " 22.04 " ) )
489
+ }
490
+
491
+ func testJammyX86_64Direct( ) async throws {
492
+ try skipSlow ( )
493
+ try await buildTestcases (
494
+ config: config. withArchitecture ( " x86_64 " ) . withLinuxDistributionVersion ( " 22.04 " ) )
495
+ }
496
+
497
+ func testJammyAarch64FromContainer( ) async throws {
498
+ try skipSlow ( )
499
+ try await buildTestcases (
500
+ config: config. withArchitecture ( " aarch64 " ) . withLinuxDistributionVersion ( " 22.04 " ) . withDocker ( ) )
501
+ }
502
+
503
+ func testJammyX86_64FromContainer( ) async throws {
504
+ try skipSlow ( )
505
+ try await buildTestcases (
506
+ config: config. withArchitecture ( " x86_64 " ) . withLinuxDistributionVersion ( " 22.04 " ) . withDocker ( ) )
507
+ }
478
508
}
479
509
480
510
final class Swift59_RHELEndToEndTests : XCTestCase {
You can’t perform that action at this time.
0 commit comments