Idris2/tests
Stiopa Koltsov c4ed1395d9 Replace per signal counter with per signal flag
Operating system counter stores signals as flag set without counter.
So sending two signals to a process may result to one or two signal
handler invocation. Queueing signals inside Idris could give users
false sense of signals being are queue, while they are not.

In particular, test for signal could not work reliably for that
reason.

Also, practically we usually don't need have more than once signal
event.

This is follow-up to #1660. CC @mattpolzin
2021-07-16 11:31:53 +01:00
..
allbackends Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
base Replace per signal counter with per signal flag 2021-07-16 11:31:53 +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 Removed leak of internal names from test reflection010 2021-07-16 04:28:58 +02: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 Merge pull request #1718 from edwinb/Russoul-unification 2021-07-15 21:16:00 +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.