unison/unison-src/builtin-tests
Greg Pfeil cbd533e40f
Update a couple transcripts to the new formatting
These aren‘t run as part of ./scripts/check.sh, so they got missed in the initial pass.
2024-07-10 16:05:19 -06:00
..
base.md Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
interpreter-tests.output.md Update a couple transcripts to the new formatting 2024-07-10 16:05:19 -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 Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
jit-tests.output.md Update a couple transcripts to the new formatting 2024-07-10 16:05:19 -06:00
jit-tests.sh unmodify jit-tests.sh 2024-05-10 12:03:34 -04:00
jit-tests.tpl.md Replace '.' references with scratch/main 2024-06-25 11:11:07 -07:00
Readme.md update readmes 2024-04-04 11:44:12 -06:00
udp-tests.u Merge branch 'kylegoetz-udp' of github.com:unisonweb/unison into kylegoetz-udp 2024-04-02 10:46:56 -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.