Skip to content

Commit 62c80a1

Browse files
committed
[Build] A couple more Python fixes.
Remove unused import of `importlib.resources`. Set `test_linux_static` to `False` if tests are disabled. rdar://123503470
1 parent 3627507 commit 62c80a1

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

utils/build_swift/build_swift/driver_arguments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -205,6 +205,7 @@ def _apply_default_arguments(args):
205205
# If none of tests specified skip swift stdlib test on all platforms
206206
if not args.test and not args.validation_test and not args.long_test:
207207
args.test_linux = False
208+
args.test_linux_static = False
208209
args.test_freebsd = False
209210
args.test_cygwin = False
210211
args.test_osx = False

utils/swift_build_support/swift_build_support/targets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
# See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
1010

1111
import os
12-
import importlib.resources
1312
import platform
1413

1514
from . import cmake

0 commit comments

Comments
 (0)