Idris2/tests
Edwin Brady d60feaace0 Add finalisers to Chez back end
This involves new primitives GCPtr and GCAnyPtr which are pointer types
that have finalisers attached. The finalisers are run when the
associated pointer goes out of scope.

In the test, I am assuming that the GC will only be called once, right
at the end. Otherwise, the output isn't guaranteed to be deterministic!
Let's see how this assumption holds...

This is currently Chez only. I think it'll be easy enough to add to
the Racket and Gambit back ends too.
2020-06-08 20:34:23 +01:00
..
chez Add finalisers to Chez back end 2020-06-08 20:34:23 +01:00
ideMode Fix tests 2020-06-01 19:13:46 -04:00
idris2 Add finalisers to Chez back end 2020-06-08 20:34:23 +01:00
ttimp add parens for some TTImp Shows 2020-06-06 17:16:43 -07:00
typedd-book Add visibility rules on types 2020-05-30 17:03:15 +01:00
Main.idr Add finalisers to Chez back end 2020-06-08 20:34:23 +01:00
Makefile Make sure literals are normalise on LHS 2020-05-23 11:48:15 +01:00
README.md Add test script 2020-05-19 18:25:18 +01:00
tests.ipkg Windows support 2020-05-21 15:13:06 +02: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.