test/blackbox-tests/test-cases/stanzas/tests/tests-stanza-action.t/run.t
raw| 1 | If there is an (action) field, it is used to invoke to the executable (in both |
| 2 | regular and expect modes: |
| 3 | |
| 4 | $ dune build @explicit-regular/runtest |
| 5 | argv[0] = "./my_test.exe" |
| 6 | argv[1] = "arg1" |
| 7 | argv[2] = "arg2" |
| 8 | argv[3] = "arg3" |
| 9 | |
| 10 | $ dune build @explicit-expect/runtest |
| 11 | |
| 12 | If there is no field, the program is run with no arguments: |
| 13 | |
| 14 | $ dune build @default/runtest |
| 15 | argv[0] = "./my_test.exe" |