-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
build: run cctests as part of test-ci target #8034
Conversation
Different take that moves merging of the TAP files out of tools/test.py and into a standalone script: https://ci.nodejs.org/job/node-test-pull-request/3592/ |
head, rest = rest.split('\n', 1) | ||
if head.startswith('1..'): | ||
total += int(head[3:]) | ||
output += rest |
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.
Will this work without renumbering the individual tests in the files being merged?
As it stands I think we'll end up with multiple ok 1 ...
.
cc @nodejs/build |
On Windows,
|
Removed the script again, made changes to vcbuild.bat and added a -Wformat fix for the inspector cctest because I didn't feel like filing a separate PR for that. :-) New CI: https://ci.nodejs.org/job/node-test-pull-request/3609/ @ofrobots @eugeneo Running the cctests seems to have unearthed some issues. Several of the buildbots fail like this (from https://ci.nodejs.org/job/node-test-commit-linux/4529/nodes=debian8-x86/console):
|
Rebased, let's see if the test failures have been resolved: https://ci.nodejs.org/job/node-test-pull-request/3809/ |
I'm working on it - failures are still there... On Tue, Aug 23, 2016 at 12:10 PM Ben Noordhuis notifications@github.com
|
FYI - the test on Windows hit #8155, I'll create a PR once I fix it. |
9720f0f
to
a9aa0e5
Compare
Rebased. New CI run: https://ci.nodejs.org/job/node-test-pull-request/4007/ |
@eugeneo cctest failures still appear to be unfixed:
|
cctest works for me on Windows, Mac and Linux after I apply #8528 |
a9aa0e5
to
b51b463
Compare
CI with fixes from #8505 and #8528 incorporated: https://ci.nodejs.org/job/node-test-pull-request/4044/ EDIT: Green, except for an infrastructure failure on one of the ARM buildbots. |
b51b463
to
bdf3483
Compare
Rebased. New CI: https://ci.nodejs.org/job/node-test-pull-request/4243/ |
Quite a few flakes but none related to this PR. Can I get a LGTM? |
Back-porters, commit b3d283a (the last one) should be omitted when back-porting to v4.x (but not v6.x.) |
@bnoordhuis Why did the default result printer switch from pretty print to TAP? I get TAP output from cctest when running |
Teach gtest to produce TAP so we can integrate it better with our CI tooling. TAP is printed to stdout but it can also be written to file by passing the `--gtest_output=tap:filename.tap` switch to cctest. PR-URL: #8034 Reviewed-By: James M Snell <jasnell@gmail.com>
Enable the cctests on the CI now that they know how to write TAP output. PR-URL: #8034 Reviewed-By: James M Snell <jasnell@gmail.com>
Print size_t and ssize_t using %zd and %zu respectively, not %ld. PR-URL: #8034 Reviewed-By: James M Snell <jasnell@gmail.com>
Teach gtest to produce TAP so we can integrate it better with our CI tooling. TAP is printed to stdout but it can also be written to file by passing the `--gtest_output=tap:filename.tap` switch to cctest. PR-URL: #8034 Reviewed-By: James M Snell <jasnell@gmail.com>
Enable the cctests on the CI now that they know how to write TAP output. PR-URL: #8034 Reviewed-By: James M Snell <jasnell@gmail.com>
Print size_t and ssize_t using %zd and %zu respectively, not %ld. PR-URL: #8034 Reviewed-By: James M Snell <jasnell@gmail.com>
waiting to backport this until we have consensus on the tap output... has this been decided on master yet? |
@thealphanerd The default reporter format change was reverted in master. |
@mscdex can you give me the PR that happened in? |
@bnoordhuis or @mscdex would one of you be willing to backport this with the commit from #8948? |
and on top, #9262. |
Teach gtest to produce TAP so we can integrate it better with our CI tooling. TAP is printed to stdout but it can also be written to file by passing the `--gtest_output=tap:filename.tap` switch to cctest. PR-URL: nodejs#8034 Reviewed-By: James M Snell <jasnell@gmail.com>
Enable the cctests on the CI now that they know how to write TAP output. PR-URL: nodejs#8034 Reviewed-By: James M Snell <jasnell@gmail.com>
Teach gtest to produce TAP so we can integrate it better with our CI tooling. TAP is printed to stdout but it can also be written to file by passing the `--gtest_output=tap:filename.tap` switch to cctest. PR-URL: #8034 Reviewed-By: James M Snell <jasnell@gmail.com>
Enable the cctests on the CI now that they know how to write TAP output. PR-URL: #8034 Reviewed-By: James M Snell <jasnell@gmail.com>
For discussion.
CI: https://ci.nodejs.org/job/node-test-pull-request/3591/