Skip to content

Commit

Permalink
docs: add example for running a single test case (p4lang#3034)
Browse files Browse the repository at this point in the history
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
  • Loading branch information
rst0git authored Jan 19, 2022
1 parent e54073f commit 0063bf9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@ The testing infrastructure is based on small python and shell scripts.

* To rerun the tests that failed last time run `make recheck`

* To run a single test case execute `ctest --output-on-failure -R '<test>'`.
Example: `ctest --output-on-failure -R 'psa-switch-expression-without-default'`

* Add unit tests in `test/gtest`

Test programs with file names ending in `-bmv2.p4` or `-ebpf.p4` may
Expand Down

0 comments on commit 0063bf9

Please sign in to comment.