haskell.nix/test
Hamish Mackenzie 942fa5defb
Fix check-hydra test (#1312)
* Fix check-hydra test

* Fix for ghc 9.2.1
2021-12-13 03:16:35 +13:00
..
buildable Add GHC 9.0.1 (#1032) 2021-03-28 21:03:20 +13:00
builder-haddock Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
cabal-22 Fix check-hydra test (#1312) 2021-12-13 03:16:35 +13:00
cabal-doctests niv update nixpkgs-unstable and add ghc 8.10.5 (#1121) 2021-06-15 19:50:45 +12:00
cabal-hpack Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
cabal-simple Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
cabal-simple-debug Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
cabal-simple-prof Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
cabal-source-repo Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
cabal-source-repo-comments Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
cabal-sublib Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
call-cabal-project-to-nix Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
call-stack-to-nix Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
coverage Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
coverage-golden niv update nixpkgs-unstable and add ghc 8.10.5 (#1121) 2021-06-15 19:50:45 +12:00
coverage-no-libs Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
exe-only Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
extra-hackage Use pkgs.lib instead of stdenv.lib (#1031) 2021-02-11 01:07:16 +13:00
fully-static Flakify all inputs (#1180) 2021-08-06 15:54:39 +12:00
ghc-options Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
githash Add GHC 9.0.1 (#1032) 2021-03-28 21:03:20 +13:00
haskell-language-server Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
index-state Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
lookup-sha256 Add GHC 9.0.1 (#1032) 2021-03-28 21:03:20 +13:00
project-flags Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
setup-deps Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
shell-for Add GHC 8.10.7 (#1220) 2021-09-01 22:43:31 +12:00
shell-for-setup-deps Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
snapshots Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-local-resolver Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-local-resolver-subdir Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-remote-resolver Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-simple Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
stack-source-repo Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
sublib-docs Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
with-packages Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
default.nix Add ghc 9.2.1 and update internal cabal to 3.6.2 (#1286) 2021-11-13 12:43:04 +13:00
README.md Add cross-compiled musl libc builds of tests (#157) 2019-07-02 18:25:40 +10:00
regen.nix Spelling, typo and whitespace fixes (#833) 2020-08-31 11:08:25 +12:00
tests.sh Update nixpkgs unstable. (#1196) 2021-08-18 00:44:03 +12:00
unit.nix Add package.buildable option (#1205) 2021-08-19 00:52:59 +12:00
util.nix tests: Add more tests for "all" component merging 2019-02-07 09:39:12 +08:00

Haskell infrastructure test cases

To build the test cases, run from the test directory:

nix-build --no-out-link default.nix

To run all tests (includes impure tests), use the script:

./tests.sh

Generated code

If you change the test Cabal files or need to regenerate the code with nix-tools, then see regen.nix. Run it like this:

$(nix-build --no-out-link regen.nix)