Skip to content

Commit 7ea8652

Browse files
committed
README: fix command for direct pytest invocation
Since a8f8f5e ("tests: split meson test() definitions into individual test scripts"), we have needed to run pytest in the obj dir, but reference the source tests/ tree. Update the README to suit. Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
1 parent 35d5993 commit 7ea8652

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,12 +125,12 @@ during development:
125125

126126
```sh
127127
cd obj
128-
pytest
128+
pytest ../tests
129129
```
130130

131131
To run without an existing dbus session:
132132
```sh
133-
dbus-run-session env DBUS_STARTER_BUS_TYPE=user pytest
133+
dbus-run-session env DBUS_STARTER_BUS_TYPE=user pytest ../tests
134134
```
135135

136136
The test infrastructure depends on a few python packages, including the pytest

0 commit comments

Comments
 (0)