diff options
author | Marco Poletti <poletti.marco@gmail.com> | 2017-06-17 17:41:38 +0100 |
---|---|---|
committer | Marco Poletti <poletti.marco@gmail.com> | 2017-06-17 17:41:38 +0100 |
commit | fb3c20259675f68c2984b6a2cb4c32df4c013f23 (patch) | |
tree | cdb2fba57bd4c9856b3641cb1750af1f57adf011 /CONTRIBUTING.md | |
parent | a8fa8a9e4c6c8cc2094dd394d1d2d959e19e4697 (diff) | |
download | google-fruit-fb3c20259675f68c2984b6a2cb4c32df4c013f23.tar.gz |
Avoid copying testing files to the build directory.
These copies could cause confusion while developing Fruit if CMake doesn't re-run and the copy in the build directory becomes stale.
After this commit, tests must be run from the tests/ subdirectory of the build root, not from the build root itself.
Diffstat (limited to 'CONTRIBUTING.md')
-rw-r--r-- | CONTRIBUTING.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c943a87..ce5ab15 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -136,6 +136,7 @@ To do so: * In Visual Studio, open the Output view (from the menu: View -> Output) and select "CMake" in the "Show output from:" dropdown menu. * Scroll to the beginning of that view. You should see two lines starting with "Command line" and "Working directory" respectively. * Cd to that working directory in the shell. For example, if the path in the "Working directory" line is `C:\Users\Marco\AppData\Local\CMakeBuild\fa17dda0-4eec-6438-a358-e1253b7e86ff\build\x64-Debug`, you can run `cd "C:\Users\Marco\AppData\Local\CMakeBuild\fa17dda0-4eec-6438-a358-e1253b7e86ff\build\x64-Debug"`. +* Cd to the "tests" subdirectory ("cd tests"). * Then run pytest, e.g. `py.test -n auto`. ### Sending pull requests |