-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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/standalone: reinstate std.ChildProcess tests #13639
Conversation
Some more history: #11701 #11736 and the last one where I tried different reduction techniques #13042. straces created with /usr/bin/time -v "${HOME}/dev/git/bootstrap/zig-bootstrap/musl/out/zig-x86_64-linux-musl-native/bin/zig" build -p build2 -Drelease --search-prefix "${HOME}/dev/git/bootstrap/zig-bootstrap/musl/out/x86_64-linux-musl-native" --zig-lib-dir lib -Dstatic-llvm
ZIGCACHE=$(fd -uu zig-cache) && rm -fr $ZIGCACHE && fd -uu zig-cache
strace -s 100 -ff -yy ./build2/bin/zig build -Dtest-filter=test/standalone/child_process/build.zig test-standalone &> b2w.strace && echo "b2 successful, not expected" I compared to all other build modes on Linux glibc Arch derivate Endeavour and the only thing local to the error looked like a bunch of msyncs being in different order or not finished. before LLVM 15.0.5:
with LLVM 15.0.5:
|
|
23cdc35
to
43fa7e9
Compare
43fa7e9
to
1953083
Compare
1953083
to
15365bd
Compare
15365bd
to
536cf1d
Compare
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.
It looks good, thank you. If you rebase this against master I will merge it.
585387e
to
8e58354
Compare
@@ -1,3 +1,4 @@ | |||
//! Default test runner for unit tests. |
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.
This was added to prevent people misunderstanding what the test_runner ist for like in this PR.
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.
@andrewrk done. I was so free to add this one line to specify the purpose of the default test runner.
8e58354
to
68aa550
Compare
68aa550
to
5ebcd47
Compare
67d5bfe removed std.ChildProcess tests, suggesting to make them standalone instead. This commit does exactly that after the bug creating SIGPIPE in RealeaseFast is no more with LLVM 15.0.5.
Thanks to @x1ddos for the idea with the compile artifacts and PR improvements.