diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-08-08 00:57:04 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-08-08 00:57:04 +0200 |
commit | 06a8c377e22c32443539c807525c44548ee60883 (patch) | |
tree | 16397d705de0fbecf19c5b30b0601f3b2732d68d | |
parent | 8668c42e942bc6a213e1c97d5c5a1ed7f3480ecc (diff) | |
parent | 3fe39798e6a124d8318c8a6aa1b0ede08bee1cf8 (diff) | |
download | Nim-06a8c377e22c32443539c807525c44548ee60883.tar.gz |
Merge pull request #3156 from kirbyfan64/contr_fix
Fix contributing guide rST
-rw-r--r-- | contributing.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contributing.rst b/contributing.rst index e6d34dcb0..65b0d0975 100644 --- a/contributing.rst +++ b/contributing.rst @@ -66,12 +66,14 @@ Running tests You can run the tests with :: + ./koch tests which will run a good subset of tests. Some tests may fail. If you only want to see the output of failing tests, go for :: + ./koch tests --failing all You can also run only a single category of tests. A category is a subdirectory @@ -79,6 +81,7 @@ in the ``tests`` directory. There are a couple of special categories; for a list of these, see ``tests/testament/categories.nim``, at the bottom. :: + ./koch tests c lib Comparing tests @@ -92,6 +95,7 @@ reference test. You'll also need to the commit id, because that's what the tester needs to know in order to compare the two. :: + git checkout devel DEVEL_COMMIT=$(git rev-parse HEAD) ./koch tests @@ -99,6 +103,7 @@ the tester needs to know in order to compare the two. Then switch over to your changes and run the tester again. :: + git checkout your-changes ./koch tests @@ -106,6 +111,7 @@ Then you can ask the tester to create a ``testresults.html`` which will tell you if any new tests passed/failed. :: + ./koch --print html $DEVEL_COMMIT |