Idris2/tests
Edwin Brady 26a47ddafe
Make prim_js2idris_array iterative (#2267)
I was getting a stack overflow on the tailrec002 test, caused by this
primitive being recursive. I've made it iterative. I'm no JS expert but
I've tested its behaviour against the old version.
2022-01-16 19:15:26 +00:00
..
allbackends Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
base system_info_os001: Add all the OSs that System.Info.os knows about 2021-12-25 21:52:21 -08:00
chez [ base ] Use Fin n as index in Bits (#2192) 2021-12-16 18:26:52 +00:00
codegen [ fix #1861 ] rewrite_impl is linear (#2150) 2021-11-25 17:07:05 +00:00
contrib Add Alternating List odds and evens functions 2021-11-10 08:40:25 +00:00
gambit/bitops001 Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
ideMode [ refactor ] IDE protocol as a separate module hierarchy (#2171) 2021-12-16 22:09:00 +00:00
idris2 Minor fix in documentation 2022-01-11 22:36:22 +01:00
node Make prim_js2idris_array iterative (#2267) 2022-01-16 19:15:26 +00:00
prelude Add tests for Nat ranges and fix bad range [1,2..1] behaviour. (#1794) 2021-07-28 06:52:59 +01:00
racket Patch CVs and sleep in Racket (#1059) 2021-03-15 13:43:12 +00:00
refc [ base ] Use Fin n as index in Bits (#2192) 2021-12-16 18:26:52 +00:00
templates Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
ttimp Cumulativity preparation: Add field for universe level to TType (#2076) 2021-10-31 00:00:16 +01:00
typedd-book [ base ] Use Fin n as index in Bits (#2192) 2021-12-16 18:26:52 +00:00
vmcode/basic001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
Main.idr [ fix #2202 ] Use SnocList in parser state to avoid quadratic slowdown (#2203) 2022-01-11 16:06:19 +00:00
Makefile [ cleanup ] Test.Golden (#1526) 2021-06-21 17:30:11 +01:00
README.md Test templates (#585) 2020-11-27 15:40:02 +00:00
tests.ipkg Set PREFIX for tests 2021-04-19 11:23:58 +01:00

Tests

Note: The commands listed in this section should be run from the repository's root folder.

Run all tests: make test

To run only a subset of the tests use: make test only=NAME. NAME is matched against the path to each test case.

Examples:

  • make test only=chez will run all Chez Scheme tests.
  • make test only=ttimp/basic will run all basic tests for TTImp.
  • make test only=idris2/basic001 will run a specific test.

Templates for common test instances can be found in the templates folder.