Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Christine Rose <[email protected]>
Signed-off-by: hhugo <[email protected]>
  • Loading branch information
hhugo and christinerose authored Mar 15, 2023
1 parent fdea3fe commit 4728b6c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion doc/tests.rst
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ backend is specified by four parameters:
1. How to create the test runner
2. How to build the test runner
3. How to run the test runner
4. Optionaly how to run the test runner to list partitions
4. Optionally how to run the test runner to list partitions
These four parameters can be specified inside the
``inline_tests.backend`` field, which accepts the following fields:
Expand Down
4 changes: 2 additions & 2 deletions test/blackbox-tests/test-cases/inline_tests/parallel.t/run.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ First, build silently to avoid some noise

$ dune build

See that test1/runtest, which uses fake_backend_1, only run one inline test runner
See that `test1/runtest`, which uses `fake_backend_1, only runs one inline test runner

$ dune build --display short @test1/runtest
ocamlc test1/.test_lib1.inline-tests/.test_lib1.inline-tests.eobjs/byte/dune__exe__Inline_test_runner_test_lib1.{cmi,cmo,cmt}
ocamlopt test1/.test_lib1.inline-tests/.test_lib1.inline-tests.eobjs/native/dune__exe__Inline_test_runner_test_lib1.{cmx,o}
ocamlopt test1/.test_lib1.inline-tests/inline_test_runner_test_lib1.exe
inline_test_runner_test_lib1 alias test1/runtest

See that test2/runtest, which uses fake_backend_2, run one inline test runner per partition
See that `test2/runtest`, which uses `fake_backend_2`, runs one inline test runner per partition

$ dune build --display short @test2/runtest
ocamlc test2/.test_lib2.inline-tests/.test_lib2.inline-tests.eobjs/byte/dune__exe__Inline_test_runner_test_lib2.{cmi,cmo,cmt}
Expand Down

0 comments on commit 4728b6c

Please sign in to comment.