Skip to content

Commit

Permalink
extend example
Browse files Browse the repository at this point in the history
  • Loading branch information
1ucian0 committed Jul 9, 2024
1 parent 319fe35 commit 19a6f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Benchpress itself requires no installation. However running it requires the too
### [pre-running] Create a skiplist

With the parameter `--timeout-skip-list=<SECs>`, a *skiplist* (a list of tests to skip, given they take too long) is created.
For example, the following line runs the tests in `benchpress/tket_gym/construct` with a 1 second timeout:
For example, the following line runs the tests in `benchpress/tket_gym/construct` with a 1 hour timeout:

```bash
python -m pytest --timeout-skip-list=1 benchpress/tket_gym/construct
python -m pytest --timeout-skip-list=3600 --benchmark-min-rounds=1 benchpress/tket_gym/construct
```

This will create a `skipfile.txt` file.
Expand Down

0 comments on commit 19a6f55

Please sign in to comment.