Skip to content

Commit 2009414

Browse files
committed
XCTest: update shebang lines to name python3 instead of python generically.
Motivated by [failure](https://ci.swift.org/job/swift-corelibs-foundation-PR-macOS/221/execution/node/43/log/) from swiftlang/swift-corelibs-foundation#4740 test runs, which ended with: ``` + /Users/ec2-user/jenkins/workspace/swift-corelibs-foundation-PR-macOS/branch-main/swift-corelibs-xctest/build_script.py --swiftc=/Users/ec2-user/jenkins/workspace/swift-corelibs-foundation-PR-macOS/branch-main/build/Ninja-ReleaseAssert/swift-macosx-x86_64/bin/swiftc --build-dir=/Users/ec2-user/jenkins/workspace/swift-corelibs-foundation-PR-macOS/branch-main/build/Ninja-ReleaseAssert/xctest-macosx-x86_64 --foundation-build-dir=/Users/ec2-user/jenkins/workspace/swift-corelibs-foundation-PR-macOS/branch-main/build/Ninja-ReleaseAssert/foundation-macosx-x86_64 --swift-build-dir=/Users/ec2-user/jenkins/workspace/swift-corelibs-foundation-PR-macOS/branch-main/build/Ninja-ReleaseAssert/swift-macosx-x86_64 --release env: python: No such file or directory ```
1 parent 1a6726e commit 2009414

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Tests/Functional/xctest_checker/xctest_checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# xctest_checker.py - Verify XCTest output -*- python -*-
33
#
44
# This source file is part of the Swift.org open source project

Tests/Functional/xctest_checker/xctest_checker/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# xctest_checker/main.py - Entry point for xctest_checker -*- python -*-
33
#
44
# This source file is part of the Swift.org open source project

build_script.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# build_script.py - Build, install, and test XCTest -*- python -*-
33
#
44
# This source file is part of the Swift.org open source project

0 commit comments

Comments
 (0)