Skip to content

Commit

Permalink
Merge pull request #310 from cupy/how_to_run_test
Browse files Browse the repository at this point in the history
README: Fix how to run test
  • Loading branch information
niboshi committed Jul 26, 2017
2 parents 8c57685 + 6730fc9 commit f3d48c9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -107,7 +107,7 @@ python setup.py develop
Run all tests as:

```
python -m unittest discover test "test_*.py"
nosetests --processes=4 --process-timeout=10000 --stop -a '!slow'
```

Run a specific test file, or a specific test method respectively:
Expand All @@ -117,6 +117,12 @@ python -m unittest tests/cupy_tests/cuda_tests/test_memory.py
python -m unittest tests.cupy_tests.cuda_tests.test_memory.TestMemoryPointer.test_int
```

Run doctest as:

```
( cd docs && make doctest )
```

### Rebuild pxd files

Currently, we have problems that cython does not rebuild pxd files well with `python setup.py develop`.
Expand Down

0 comments on commit f3d48c9

Please sign in to comment.