File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -417,6 +417,13 @@ final class PackageRegistryToolTests: CommandsTestCase {
417
417
}
418
418
419
419
func testPublishingUnsignedPackage( ) throws {
420
+ #if os(Linux)
421
+ // needed for archiving
422
+ guard SPM_posix_spawn_file_actions_addchdir_np_supported ( ) else {
423
+ throw XCTSkip ( " working directory not supported on this platform " )
424
+ }
425
+ #endif
426
+
420
427
let packageIdentity = " test.my-package "
421
428
let version = " 0.1.0 "
422
429
let registryURL = " https://packages.example.com "
@@ -589,6 +596,13 @@ final class PackageRegistryToolTests: CommandsTestCase {
589
596
" skipping because test environment doesn't support concurrency "
590
597
)
591
598
599
+ #if os(Linux)
600
+ // needed for archiving
601
+ guard SPM_posix_spawn_file_actions_addchdir_np_supported ( ) else {
602
+ throw XCTSkip ( " working directory not supported on this platform " )
603
+ }
604
+ #endif
605
+
592
606
let observabilityScope = ObservabilitySystem . makeForTesting ( ) . topScope
593
607
594
608
let packageIdentity = " test.my-package "
You can’t perform that action at this time.
0 commit comments