diff options
author | Phillip Johnsen <johphi@gmail.com> | 2015-06-24 20:35:43 +0200 |
---|---|---|
committer | Sakthipriyan Vairamani <thechargingvolcano@gmail.com> | 2015-07-19 17:00:15 +0000 |
commit | c7d8b091623b5dd30977d29f946051c0bf328ad1 (patch) | |
tree | ea4b9ee6aee6b24a0a3404cd542d211b61a81e41 | |
parent | fef87fee1de60c3d5db2652ee2004a6e78d112ff (diff) | |
download | nodejs-c7d8b091623b5dd30977d29f946051c0bf328ad1.tar.gz nodejs-c7d8b091623b5dd30977d29f946051c0bf328ad1.tar.bz2 nodejs-c7d8b091623b5dd30977d29f946051c0bf328ad1.zip |
doc: recompile before testing core module changes
Changes to core modules do not take effect unless recompiled. Tip new
contributors about this when describing how to run tests in
contribution guide.
Removed `jslint` from first test command example, as jslint is included
when running `make test`.
Fixed wrong path of example stream2-transform test.
PR-URL: https://github.com/nodejs/io.js/pull/2051
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
-rw-r--r-- | CONTRIBUTING.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 2ab54f981..3efad27ee 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -126,7 +126,7 @@ test/parallel/ directory. Look at other tests to see how they should be structured (license boilerplate, common includes, etc.). ```text -$ make jslint test +$ ./configure && make -j8 test ``` Make sure the linter is happy and that all tests pass. Please, do not submit @@ -142,9 +142,11 @@ $ python tools/test.py -v --mode=release parallel/test-stream2-transform You can run tests directly with iojs: ```text -$ iojs ./test/parallel/test-streams2-transform.js +$ ./iojs ./test/parallel/test-stream2-transform.js ``` +Remember to recompile with `make -j8` in between test runs if you change +core modules. ### Step 6: Push |