unison/unison-src/builtin-tests
2024-04-04 15:19:49 -06:00
..
base.md all the mergeio types we rely on should be in base I suppose? 2024-02-15 17:11:27 -05:00
interpreter-tests.output.md update instructions in {jit,interpreter}-tests.tpl.md 2024-04-04 15:19:49 -06:00
interpreter-tests.sh let jit tests run on jit; among other things 2024-04-04 01:20:26 -06:00
interpreter-tests.tpl.md update instructions in {jit,interpreter}-tests.tpl.md 2024-04-04 15:19:49 -06:00
jit-tests.output.md update instructions in {jit,interpreter}-tests.tpl.md 2024-04-04 15:19:49 -06:00
jit-tests.sh jit-tests.sh to accept a "ucm" arg 2024-04-04 11:34:34 -06:00
jit-tests.tpl.md update instructions in {jit,interpreter}-tests.tpl.md 2024-04-04 15:19:49 -06:00
Readme.md update readmes 2024-04-04 11:44:12 -06:00

Test suite for builtins

Edit tests.u in this directory to add to the test suite. The same test suite can be run using the JIT or the interpreter, using either of the two scripts:

$ ./unison-src/builtin-tests/jit-tests.sh $(stack exec which unison) --runtime-path <path>
$ ./unison-src/builtin-tests/interpreter-tests.sh

The scripts will fetch a copy of base and the scheme codegen library and cache it for subsequent runs.