Skip to content

Commit f9f67c8

Browse files
committed
Update README with how to run tests
1 parent a22e027 commit f9f67c8

File tree

1 file changed

+18
-9
lines changed

1 file changed

+18
-9
lines changed

cuda_bindings/README.md

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,26 +39,35 @@ Latest dependencies can be found in [requirements.txt](https://github.com/NVIDIA
3939

4040
### Unit-tests
4141

42-
You can run the included tests with:
43-
42+
To run unit-tests against local builds:
43+
```
44+
python -m pytest tests/
45+
```
46+
To run unit-tests against installed builds:
4447
```
45-
python -m pytest
48+
pytest tests/
4649
```
4750

4851
### Benchmark
4952

50-
You can run benchmark only tests with:
51-
53+
To run unit-tests against local builds:
54+
```
55+
python -m pytest --benchmark-only benchmark/
5256
```
53-
python -m pytest --benchmark-only
57+
To run unit-tests against installed builds:
58+
```
59+
pytest --benchmark-only benchmark/
5460
```
5561

5662
### Samples
5763

58-
You can run the included tests with:
59-
64+
To run unit-tests against local builds:
65+
```
66+
python -m pytest benchmark/
67+
```
68+
To run unit-tests against installed builds:
6069
```
61-
python -m pytest examples
70+
pytest benchmark/
6271
```
6372

6473
## Examples

0 commit comments

Comments
 (0)