diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-01 17:03:30 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-01 17:03:30 -0400 |
| commit | c601aa5d2d49f572ddd4240bf1c7bbca12d7b7a6 (patch) | |
| tree | e1a15c3b3a82df38855ca51faf26978d4b77acb5 /test | |
| parent | 93217d7cce249854248ce68d455705253cf63a65 (diff) | |
Better description for unit.bqn and dzaima test scripts
Diffstat (limited to 'test')
| -rw-r--r-- | test/README.txt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/test/README.txt b/test/README.txt index 97a9d6da..2eab980c 100644 --- a/test/README.txt +++ b/test/README.txt @@ -11,13 +11,16 @@ to see. There are additional tests here used for development: - dzaima dzaima/BQN Self + repo - wasm.js bqn WebAssembly -this.bqn can be run in any implementation that supports the necessary -system functions (•file.List, •file.Lines, •args, •Out, •BQN, •Repr). +"bqn" can be any implementation that supports the necessary system +functions (•file.List, •file.Lines, •args, •Out, •BQN, •Repr). -unit.bqn and dz_comp use the self-hosted compiler ../src/c.bqn by -default but not the runtime ../src/r*.bqn. Pass -rt to test with the -runtime, and -nocomp to test dzaima/BQN only (this doesn't pass as of -the time of writing). +unit.bqn and dzaima can test components from this repostory, by default +the compiler only. The following options are supported: + +- -nocomp: native execution +- default: compiler (src/c.bqn) +- -rt: compiler and runtime (src/r*.bqn) +- -ref: compiler and primitive specification (spec/reference.bqn) Every script but wasm.js can be run on a specified set of tests by passing the test names as arguments. this.bqn and unit.bqn run on all |
