diff options
| author | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-01 16:51:04 -0400 |
|---|---|---|
| committer | Marshall Lochbaum <mwlochbaum@gmail.com> | 2021-11-01 16:51:04 -0400 |
| commit | 93217d7cce249854248ce68d455705253cf63a65 (patch) | |
| tree | aad94c9b71d94247c6c31c171a044895b3171701 /test/README.txt | |
| parent | d827ec77a2a53f4b99455b0512c7b2fd237d353c (diff) | |
Clean up test directory structure
Diffstat (limited to 'test/README.txt')
| -rw-r--r-- | test/README.txt | 44 |
1 files changed, 24 insertions, 20 deletions
diff --git a/test/README.txt b/test/README.txt index f11502b9..97a9d6da 100644 --- a/test/README.txt +++ b/test/README.txt @@ -1,26 +1,30 @@ -Test scripts: +Does your BQN work? Run - Script Compiler host Output host/VM -- this.bqn Any Same -- unit.bqn Any Same + repo -- js Self-host Javascript -- dz_comp dzaima/BQN dzaima/BQN + repo -- dz_wasm.js dzaima/BQN WebAssembly +$ bqn test/this.bqn + +to see. There are additional tests here used for development: + + Script Compiler host Output host/VM +- this.bqn bqn Self +- js docs/bqn.js Self +- unit.bqn bqn Self + repo +- 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). It -runs all tests by default, and can be run on a subset by passing their -names as arguments. +system functions (•file.List, •file.Lines, •args, •Out, •BQN, •Repr). -dz_comp uses 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 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). -Test cases (cases/): - js dz_comp dz_wasm.js -- simple.bqn * * * -- syntax.bqn * * -- prim.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 +tests by default; other scripts use the following default tests: -js or dz_comp can be run on a specified set of tests by passing the test -names as arguments. +Test cases (cases/): + js dzaima wasm.js +- simple.bqn * * * +- syntax.bqn * * +- prim.bqn * |
