Skip to content
Myr

Document --run-tests

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Nicolas Williams · committed by Nicolas Williams · parent fd4f4f2 · Browse files · 1 file+14 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+14 added−0 removed

  • other:+14 added−0 removed

1 file+14 added−0 removed

modified:docs/content/3.manual/manual.yml+14 added
231 unmodified lines
232 (This option is like `--slurpfile`, but when the file has just233 one text, then that is used, else an array of texts is used as234 in `--slurfile`.)235236 * `--run-tests [filename]`:237238 Runs the tests in the given file or standard input. This must239 be the last option given and does not honor all preceding240 options. The input consts of comment lines, empty lines, and241 program lines followed by one input line, as many lines of242 output as are expected (one per output), and a terminating empty243 line. Compilation failure tests start with a line containing244 only "%%FAIL", then a line containing the program to compile,245 then a line containing an error message to compare to the246 actual.247248 Be warned that this option can change backwards-incompatibly.249250 - title: Basic filters251 entries:252 - title: "`.`"253 body: |
2592 unmodified lines