diff options
author | onqtam <vik.kirilov@gmail.com> | 2017-04-16 21:03:58 +0300 |
---|---|---|
committer | onqtam <vik.kirilov@gmail.com> | 2017-05-16 00:22:20 +0300 |
commit | 56d9170309f3ba441cfea37269c5208e7ad24c9b (patch) | |
tree | 813d14b345177cb6caa9e58bd00f293dd278ade2 /CONTRIBUTING.md | |
parent | 908ce003e1e619bd13407d1fa1ac25c5feb79484 (diff) |
- added prefix for the TEST_MODE option
- removed the cpp11 option
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index edbb7f4..77f5575 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -16,9 +16,9 @@ If you're going to change something in the library itself - make sure you don't This framework has some design goals which must be kept. Make sure you have read the [**features and design goals**](features.md) page. -If your changes also change the output of the library - you should also update the reference output for the tests or otherwise the CI builds (```travis``` and ```appveyor```) will fail when they compare the latest output to the outdated reference output (which is committed in the repository). To do this run CMake with the ```TEST_MODE``` variable set to ```COLLECT``` (making the new reference output) and then run ```ctest``` and commit the changed ```.txt``` files too. The default ```TEST_MODE``` is ```COMPARE```. +If your changes also change the output of the library - you should also update the reference output for the tests or otherwise the CI builds (```travis``` and ```appveyor```) will fail when they compare the latest output to the outdated reference output (which is committed in the repository). To do this run CMake with the ```DOCTEST_TEST_MODE``` variable set to ```COLLECT``` (making the new reference output) and then run ```ctest``` and commit the changed ```.txt``` files too. The default ```DOCTEST_TEST_MODE``` is ```COMPARE```. -Example: ```cmake -DTEST_MODE=COLLECT path/to/sources && ctest``` +Example: ```cmake -DDOCTEST_TEST_MODE=COLLECT path/to/sources && ctest``` Code should be formatted with a recent-enough ```clang-format``` using the config file in the root of the repo (or I will do it...) |