Uh oh!
There was an error while loading. Please reload this page.
test: fix path to module for repl test on Windows - #3608
Conversation
john-yan
commented
Oct 30, 2015
This is to fix the following message on windows: |
john-yan
commented
Oct 31, 2015
Can someone add a 'lts-v4.x-watch' tag please? |
jasnell
commented
Oct 31, 2015
@john-yan ... added... likely won't go in until after v4.2.2 tho |
jasnell
commented
Oct 31, 2015
PR LGTM |
john-yan
commented
Oct 31, 2015
@jasnell Thanks for letting me know. |
There was a problem hiding this comment.
Please use common.isWindows
thefourtheye
commented
Nov 2, 2015
Windows accepts slash separated paths as well, right? |
mcornac
commented
Nov 2, 2015
@thefourtheye The reason the original test did not pass is that it has a mixture of (not escaped) backslashes from __dirname with hard coded forward slashes. I.e. "D:\node-1\test\addons\repl-domain-abort/build/Release/binding". Should I make the change from '\' to '/' ? |
mcornac
commented
Nov 10, 2015
Can someone give a suggestion or merge this in please? |
There was a problem hiding this comment.
Can you split this across two lines please.
There was a problem hiding this comment.
LGTM although I would have replaced them with forward slashes. It should work the same and is arguably easier to read / less ambiguous.
cjihrig
commented
Nov 10, 2015
Can't really merge this just yet, as the CI is under repairs, but LGTM. |
Use path join to construct the path instead of concatenating strings. Replace backslash with double backslash so that they are escaped correctly in the string passed to REPL.
mcornac
commented
Nov 10, 2015
I split the if statement to two lines and replaced with forward slash. |
There was a problem hiding this comment.
Comment is wrong now. Don't worry, I'll update it when I land it. :-)
bnoordhuis
commented
Nov 10, 2015
LGTM with a comment. CI: https://ci.nodejs.org/job/node-test-pull-request/694/ |
cjihrig
commented
Nov 11, 2015
john-yan
commented
Nov 12, 2015
@thinkingdust Could you please take a look at the failures on the CI and see if any failure are related. |
mcornac
commented
Nov 12, 2015
I took a look. I'm not sure if I'm parsing the output right but I can't see anything related. Many of them look like this one on Windows with a Java exception. |
cjihrig
commented
Nov 12, 2015
Yea, those are issues with the CI itself. Will try running it again tomorrow, if no one else does by then. |
cjihrig
commented
Nov 13, 2015
Let's see how the CI is feeling today: https://ci.nodejs.org/job/node-test-pull-request/723/ |
joaocgreis
commented
Nov 14, 2015
@cjihrig CI was bad, but should be better now: https://ci.nodejs.org/job/node-test-pull-request/729/ |
cjihrig
commented
Nov 14, 2015
Thanks @joaocgreis. This is failing for me locally on OS X: |
jasnell
commented
Nov 15, 2015
jasnell
commented
Nov 15, 2015
CI is mostly green except for the known CI failures. @cjihrig it appears to be running fine for me on OS X and is green on OS X in CI (https://ci.nodejs.org/job/node-test-commit-osx/1186/). Can you run the test again and verify if you're still seeing errors? |
cjihrig
commented
Nov 15, 2015
If the CI is happy, don't let me hold this back. LGTM |
Use path join to construct the path instead of concatenating strings. Replace backslash with double backslash so that they are escaped correctly in the string passed to REPL. PR-URL: #3608 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
jasnell
commented
Nov 16, 2015
Landed in c0bac95 |
Use path join to construct the path instead of concatenating strings. Replace backslash with double backslash so that they are escaped correctly in the string passed to REPL. PR-URL: #3608 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins
commented
Nov 16, 2015
landed in v4.x-staging as c10f17f |
Use path join to construct the path instead of concatenating strings. Replace backslash with double backslash so that they are escaped correctly in the string passed to REPL. PR-URL: #3608 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Use path join to construct the path instead of concatenating strings. Replace backslash with double backslash so that they are escaped correctly in the string passed to REPL. PR-URL: #3608 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Use path join to construct the path instead of concatenating strings. Replace backslash with double backslash so that they are escaped correctly in the string passed to REPL. PR-URL: #3608 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Use path join to construct the path instead of concatenating strings. Replace backslash with double backslash so that they are escaped correctly in the string passed to REPL. PR-URL: #3608 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Use path join to construct the path instead of concatenating strings.
Replace backslash with double backslash so that they are escaped
correctly in the string passed to REPL.