Idris2/tests
Zoe Stafford fde6269c7e
make depends collect all transitive dependencies (#2469)
* make `depends` collect all transitive dependencies

This happens by installing the (modified) ipkg file along with ttc files

* [ fix ] parsing a package shouldn't always set sourceDir

* linter *sigh*

* Fix test, add changelog

`asDepends` has been changed to `setSrc` as that is for me more intuitive

in idris2/pkg006 the version field was removed from the ipkgs of bar-baz and quux
as idris now expects the version to match the folder

idris2/pkg010 explicitly disables incremental compilation, to prevent extra log info

* (hopefully) fix idris2/pkg13 test on windows
2022-05-20 16:20:54 +01:00
..
allbackends [ fix ] Ensure casting from String to Double results in floating numbers on scheme backends 2022-05-09 18:36:17 +01:00
allschemes/scheme001 [ fix ] Ensure casting from String to Double results in floating numbers on scheme backends 2022-05-09 18:36:17 +01:00
base add scanr; scanr1; unsnoc for Vect (#2471) 2022-05-12 17:54:34 +01:00
chez [ base ] Add some more properties, functions and interface implementations (#2361) 2022-03-23 13:33:13 +00:00
codegen [ fix #1861 ] rewrite_impl is linear (#2150) 2021-11-25 17:07:05 +00:00
contrib Add Alternating List odds and evens functions 2021-11-10 08:40:25 +00:00
gambit/bitops001 Add Data.Bits to base (#1033) 2021-03-04 20:59:56 +00:00
ideMode [ refactoring ] expose some internals needed by Katla (#2480) 2022-05-16 20:37:08 +01:00
idris2 make depends collect all transitive dependencies (#2469) 2022-05-20 16:20:54 +01:00
node Fix prim__div_Double on Node/js backend 2022-03-26 19:00:46 +00:00
prelude adopt backend implementations of pow (#2334) 2022-03-03 23:39:25 +00:00
racket Patch CVs and sleep in Racket (#1059) 2021-03-15 13:43:12 +00:00
refc [ fix ] Add missing cases for BITS types in extractInt 2022-05-04 10:18:58 +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 [ refactor ] Abstract Prelude.elem to work with all Foldables (#2294) 2022-02-01 21:34:29 +00:00
vmcode/basic001 Move rm -rf to the beginning of the test 2021-07-13 22:54:53 +01:00
Main.idr make depends collect all transitive dependencies (#2469) 2022-05-20 16:20:54 +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.