test: add --trace-gc flag test#42471
Merged
nodejs-github-bot merged 5 commits intonodejs:masterfrom Mar 28, 2022
Merged
Conversation
jasnell
reviewed
Mar 25, 2022
jasnell
approved these changes
Mar 25, 2022
Member
Author
|
cc @nodejs/diagnostics |
gireeshpunathil
approved these changes
Mar 26, 2022
RaisinTen
approved these changes
Mar 26, 2022
This comment was marked as outdated.
This comment was marked as outdated.
26 tasks
lpinca
approved these changes
Mar 27, 2022
Member
lpinca
left a comment
There was a problem hiding this comment.
LGTM with or without the suggested nits fixed.
Flarna
approved these changes
Mar 27, 2022
24 tasks
Collaborator
Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
targos
reviewed
Mar 28, 2022
Comment on lines
30
to
31
| const expectedRegex = new RegExp(expectedOutput[index]); | ||
| assert.match(line, expectedRegex); |
Member
There was a problem hiding this comment.
Suggested change
| const expectedRegex = new RegExp(expectedOutput[index]); | |
| assert.match(line, expectedRegex); | |
| assert.match(line, expectedOutput[index]); |
expectedOutput already contains regexes.
Member
Author
There was a problem hiding this comment.
In fact, I did like it first, then I got an error but I misread it.
I finally trim the output string and it worked ^^
Thanks a lot 🙏
Flarna
approved these changes
Mar 28, 2022
Collaborator
Collaborator
|
Landed in 00cb091 |
This was referenced Mar 29, 2022
juanarbol
pushed a commit
that referenced
this pull request
Apr 4, 2022
PR-URL: #42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
juanarbol
pushed a commit
to juanarbol/node
that referenced
this pull request
Apr 5, 2022
PR-URL: nodejs#42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
juanarbol
pushed a commit
that referenced
this pull request
Apr 6, 2022
PR-URL: #42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
xtx1130
pushed a commit
to xtx1130/node
that referenced
this pull request
Apr 25, 2022
PR-URL: nodejs#42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
juanarbol
pushed a commit
that referenced
this pull request
May 31, 2022
PR-URL: #42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
danielleadams
pushed a commit
that referenced
this pull request
Jun 27, 2022
PR-URL: #42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
targos
pushed a commit
that referenced
this pull request
Jul 11, 2022
PR-URL: #42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
targos
pushed a commit
that referenced
this pull request
Jul 11, 2022
PR-URL: #42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
targos
pushed a commit
that referenced
this pull request
Jul 31, 2022
PR-URL: #42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
guangwong
pushed a commit
to noslate-project/node
that referenced
this pull request
Oct 10, 2022
PR-URL: nodejs/node#42471 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hi 👋
Context
This pull request follows this previous one and the initiative started by the diagnostic wg.
Added
Now that
--trace-gcis a part of the diagnostic tooling support, I thought that we could improve maturity tiers by adding a simple high-level test. As--trace-gcis a part of the v8 codebase, it probably doesn't make sense to test specific cases here. I just tried to test the integration between node and v8.I first tried to find where this integration was made, but I didn't find it. While I read the code I expected to find it somewhere around here:
node/src/node_options.cc
Line 238 in de163d5
If someone has an idea about where the integration is made, let me know ^^
How to run this test? ->
make test-v8-updatesI wasn't sure about where should the test be or how I should write it, so I try to make it simple. 🙈