| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Nice. LGTM. |
Sorry, something went wrong.
|
Perhaps we should inform the tests if they are being run under tap so this can be configured in the common test helpers file per test run output type? |
Sorry, something went wrong.
|
@Fishrock123 You mean like a common ffunction with the template string? How can we know if the tap is enabled? |
Sorry, something went wrong.
|
I think the text is as readable in tap output as in plain text. The test runner knows what mode we're in, but it feels like an unnecessary complication. We should really start abstracting output if we care about this. |
Sorry, something went wrong.
Eh, ok. LGTM |
Sorry, something went wrong.
|
LGTM. Maybe replace the process.exit calls with return statements while you're there, that should make reasoning about the test suite's remaining process.exit calls easier. |
Sorry, something went wrong.
Sorry, something went wrong.
|
@bnoordhuis I have never seen TAP in action. But looking at the Extended TAP Results in the CI, the changes didn't make any difference I guess. What am I missing? |
Sorry, something went wrong.
|
@thefourtheye you can see the output in the raw stdout logs. Not sure if jenkins registers skipped test as a part of the parsed output list. |
Sorry, something went wrong.
|
@jbergstroem Hmmm, in Console output also, I couldn't see any logs, but only the TAP results (ok/not ok) |
Sorry, something went wrong.
|
It looks like the test runner actually returns 'ok' on skip (well, return code 0). I'll have a look at this. This patch is still good to go though. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Okay, I rebased master, pulled in @jbergstroem's #2129 and changed the process.exit to return and squashed the commits. |
Sorry, something went wrong.
|
I'd suggest we keep the PR's separate. I probably have to update #2129 shortly (regex change) and neither PR relies on the other to work. No strong opinion about it though. |
Sorry, something went wrong.
|
@jbergstroem #2129 is not the test.py changes, but the "missing crypto checks" which you landed earlier ;-) |
Sorry, something went wrong.
|
@thefourtheye ah, I'll just continue studying the art of not reading properly. |
Sorry, something went wrong.
|
@jbergstroem lol, no problem :-) Do we need a separate CI run for this? |
Sorry, something went wrong.
|
@thefourtheye might as well; they're just idling. https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/126/ |
Sorry, something went wrong.
|
LGTM with a comment. |
Sorry, something went wrong.
There was a problem hiding this comment.
@bnoordhuis PTAL :-)
Sorry, something went wrong.
This patch makes the skip messages consistent so that the TAP plugin
in CI can parse the messages properly. The format will be
1..0 # Skipped: [Actual reason why the test is skipped]
This patch uses `return` statement to skip the test instead of using `process.exit` call.
|
@brendanashworth We can land this anytime but the relevant changes are in #2130. Cc @jbergstroem |
Sorry, something went wrong.
|
I'm LGTM for landing this. #2130 just makes it "visible". |
Sorry, something went wrong.
This patch makes the skip messages consistent so that the TAP plugin
in CI can parse the messages properly. The format will be
1..0 # Skipped: [Actual reason why the test is skipped]
PR-URL: #2109
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
This patch uses `return` statement to skip the test instead of using `process.exit` call. PR-URL: #2109 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Sorry, something went wrong.
This is a followup of nodejs#2109. The tests which didn't make it in nodejs#2109, are included in this patch. The skip messages are supposed to follow the format 1..0 # Skipped: [Actual reason why the test is skipped] and the tests should be skipped with the return statement.
This is a followup of #2109. The tests which didn't make it in #2109, are included in this patch. The skip messages are supposed to follow the format 1..0 # Skipped: [Actual reason why the test is skipped] and the tests should be skipped with the return statement. PR-URL: #2290 Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com> Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
| Back | FazBrowse Home | New Git URL |
This patch makes the skip messages consistent so that the TAP plugin
in CI can parse the messages properly. The format will be
cc @bnoordhuis