From 5196a7c382a1a03e2d460c7ca9112424a58cfbd0 Mon Sep 17 00:00:00 2001 From: Daniel Gröber Date: Mon, 11 Feb 2019 23:17:49 +0100 Subject: Some helper compilation test coverage comments [ci skip] --- tests/CompileTest.hs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'tests/CompileTest.hs') diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs index 4ad5804..ea5202e 100644 --- a/tests/CompileTest.hs +++ b/tests/CompileTest.hs @@ -2,7 +2,13 @@ {-| This test tries to compile the Helper against every supported version of the Cabal library. Since we compile the Helper at runtime, on the user's machine, - it is very important to make sure this will not fail. + it is very important to make sure this will not fail to compile. + + This test only covers using v2-build to install the requested Cabal library + version because it has the best build product caching (keeps CI times + down). We could also use stack since it has a global package cache but we + don't support that because stack always comes with the right Cabal library + version available for a given resolver anyways. -} import System.Environment (getArgs) -- cgit v1.2.3