Idris2/tests
Stiopa Koltsov 9f61e542b4 Move rm -rf to the beginning of the test
While the discussion about how to refactor test framework is not
finished (#1654), make this change: move `rm -rf build` in the
beginning of the test. For these reasons:

* it is useful to inspect the contents of the `build` directory
  especially after the test failure
* if build crashes mid-test (e.g. process killed), next run should
  not be affected by the `build` directory from the previous run
2021-07-13 22:54:53 +01:00
..
allbackends Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
base Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
chez Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
codegen Add foldMap to Foldable (#1483) 2021-06-01 15:05:04 +01:00
contrib/json_001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
gambit/bitops001 Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
ideMode Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
idris2 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
node Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
prelude/reg001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
racket Patch CVs and sleep in Racket (#1059) 2021-03-15 13:43:12 +00:00
refc Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
templates Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
ttimp Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
typedd-book Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
vmcode/basic001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
Main.idr [ fix #1652 ] Save casefnty to TTC (#1686) 2021-07-13 11:04:07 +01: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.