mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
|
||
---|---|---|
.. | ||
base.md | ||
interpreter-tests.output.md | ||
interpreter-tests.sh | ||
interpreter-tests.tpl.md | ||
jit-tests.output.md | ||
jit-tests.sh | ||
jit-tests.tpl.md | ||
Readme.md | ||
udp-tests.u |
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.