-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Test: Enable most AsyncProcessTests #8500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test: Enable most AsyncProcessTests #8500
Conversation
@swift-ci test self hosted windows |
@swift-ci please test self hosted |
38a7f2f
to
a253651
Compare
@swift-ci test self hosted windows |
@swift-ci test windows |
@swift-ci test |
a253651
to
8312d6b
Compare
@swift-ci test |
@swift-ci test self hosted windows |
@swift-ci test |
8312d6b
to
c97ba8e
Compare
@swift-ci test |
@swift-ci test macOS |
@swift-ci test windows |
Enable all but 3 tests. Some AsyncProcessTests call to `cat` and `echo` commands. Update the executable to be called correctly on Windows via the `cmd.exe /c` command, where the `cat` equivalent is `type`, which displays the file contents. Also, many tests call a script. We created a batch file, which simply calls the associated script invoked by python. Only 3 tests remain skipped. - one failed assertion on Windows - two otheers appear to have caused `swift test` tp hang. Depends on: swiftlang#8495 Related to: swiftlang#8433 rdar://148248105
c97ba8e
to
f54edb2
Compare
@swift-ci test |
f54edb2
to
e53fb23
Compare
@swift-ci test |
@swift-ci test linux |
e53fb23
to
909c874
Compare
@swift-ci test |
@swift-ci test self hosted |
@swift-ci test |
@@ -795,11 +795,17 @@ let package = Package( | |||
"Archiver/Inputs/invalid_archive.tar.gz", | |||
"Archiver/Inputs/invalid_archive.zip", | |||
"processInputs/long-stdout-stderr", | |||
"processInputs/long-stdout-stderr.bat", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Wouldn't it be simpler to call python on the python file on all platforms? ["python3", "long-stdout-stderr"]?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That would require adding a host dependency on the test, and we are unable to guarantee that python will be installed on the host.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But the bat scripts run python. And python is a dependency of the Swift package (for lldb).
Enable all but 3 tests.
Some AsyncProcessTests call to
cat
andecho
commands. Update theexecutable to be called correctly on Windows via the
cmd.exe /c
command, where the
cat
equivalent istype
, which displays the filecontents.
Also, many tests call a script. We created a batch file, which simply
calls the associated script invoked by python.
Only 3 tests remain skipped.
swift test
tp hang.Related to: #8433
rdar://148248105