Skip to content
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: improve validation of report output #26289

Merged
merged 1 commit into from
Mar 2, 2019

Conversation

cjihrig
Copy link
Contributor

@cjihrig cjihrig commented Feb 24, 2019

This commit improves the validation of generated diagnostic reports. This enforces the general report schema. Next steps include tighter validation of various libuv handle types, and checking for specific values (such as an error message or stack frame).

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines

@nodejs-github-bot
Copy link
Collaborator

@cjihrig sadly an error occured when I tried to trigger a build :(

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 24, 2019
@addaleax addaleax added the report Issues and PRs related to process.report. label Feb 24, 2019
@richardlau
Copy link
Member

Next steps include tighter validation of various libuv handle types...

https://github.com/nodejs/node/pull/26140/files#diff-2309f7f663f8532063e90537b0ccf4c7

@cjihrig
Copy link
Contributor Author

cjihrig commented Feb 24, 2019

Next steps include tighter validation of various libuv handle types...

https://github.com/nodejs/node/pull/26140/files#diff-2309f7f663f8532063e90537b0ccf4c7

Even better!

@cjihrig cjihrig force-pushed the report-validation branch 4 times, most recently from 773c707 to 7067d60 Compare March 2, 2019 19:30
This commit improves the validation of generated diagnostic
reports.

PR-URL: nodejs#26289
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@cjihrig cjihrig force-pushed the report-validation branch from 7067d60 to 060af32 Compare March 2, 2019 23:07
@cjihrig
Copy link
Contributor Author

cjihrig commented Mar 2, 2019

@cjihrig cjihrig merged commit 060af32 into nodejs:master Mar 2, 2019
@cjihrig cjihrig deleted the report-validation branch March 2, 2019 23:09
BridgeAR pushed a commit that referenced this pull request Mar 4, 2019
This commit improves the validation of generated diagnostic
reports.

PR-URL: #26289
Reviewed-By: Anna Henningsen <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: James M Snell <[email protected]>
@BridgeAR BridgeAR mentioned this pull request Mar 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
report Issues and PRs related to process.report. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants