Idris2/tests
Stiopa Koltsov 0ecf74e434 System.Directory.nextDirEntry
* add `nextDirEntry` which returns `Maybe String`, so `Nothing` on
  the end of directory unlike `dirEntry` which returns unspecified error
  on the end of directory
* `dirEntry` is deprecated now, but not removed because compiler depends on it
* native implementation of `dirEntry` is patched to explicitly reset `errno`
  before the `readdir` call: without it end of directory and error were
  indistinguishable
* test added
2021-07-17 14:57:27 +01:00
..
allbackends Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
base System.Directory.nextDirEntry 2021-07-17 14:57:27 +01:00
chez Merge pull request #1721 from edwinb/AliasQli-master 2021-07-15 23:17: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 Apply "qualified do" notation to bangs and comprehensions (#1700) 2021-07-17 14:52:22 +01:00
node Return Bool from IOArray.writeArray 2021-07-15 22:16:22 +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 Bring #1719 up to date with latest changes 2021-07-15 22:04:49 +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 System.Directory.nextDirEntry 2021-07-17 14:57:27 +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.