Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhillip Johnsen <johphi@gmail.com>2015-06-24 21:35:43 +0300
committerSakthipriyan Vairamani <thechargingvolcano@gmail.com>2015-07-19 20:00:15 +0300
commitc7d8b091623b5dd30977d29f946051c0bf328ad1 (patch)
treeea4b9ee6aee6b24a0a3404cd542d211b61a81e41 /CONTRIBUTING.md
parentfef87fee1de60c3d5db2652ee2004a6e78d112ff (diff)
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>
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md6
1 files changed, 4 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 2ab54f981ea..3efad27eec6 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