Idris2/tests
Edwin Brady 2f6ec76223
Get information about names in reflection (#2110)
* Only normalise a search goal if it's fast

While we do end up normalising it anyway on success, there might be
things blocking it that make the intermediate terms very big, so only do
it speculatively to see if it's quick.

* Get information about names in reflection

Currently this is only whether it's a function, or data or type
constructor. I expect more may be useful/possible.
2021-11-07 15:06:53 +00:00
..
allbackends Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
base clean up some deprecations (#2057) 2021-10-24 12:06:57 +01:00
chez Add takeUntil Data.String.Parser parser 2021-11-01 13:54:46 +00:00
codegen [ new ] Some optimisations mainly involving Nat and Fin (#1817) 2021-10-07 19:21:32 +01:00
contrib [ contrib ] Alternating lists of known parity (#2043) 2021-10-30 00:12:44 +01:00
gambit/bitops001 Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
ideMode [ decor ] highlighting comments too 2021-09-20 17:00:25 +01:00
idris2 Get information about names in reflection (#2110) 2021-11-07 15:06:53 +00:00
node [ fix ] fastConcat for JS backends 2021-10-14 14:58:51 +01: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 Optimise away case statements on unit-y types (#1844) 2021-10-13 15:46:02 +01: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 print location of implicit name shadowing with the warning. (#1968) 2021-10-03 10:15:01 +01:00
vmcode/basic001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
Main.idr Get information about names in reflection (#2110) 2021-11-07 15:06:53 +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.