diff options
-rw-r--r-- | tests/CompileTest.hs | 5 | ||||
-rw-r--r-- | tests/GhcSession.hs | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/tests/CompileTest.hs b/tests/CompileTest.hs index 8f7ab79..b5d9003 100644 --- a/tests/CompileTest.hs +++ b/tests/CompileTest.hs @@ -1,5 +1,10 @@ {-# LANGUAGE ScopedTypeVariables, GADTs, ImplicitParams #-} +{-| 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. +-} + import System.Environment (getArgs) import System.Directory import System.FilePath diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs index acd3c33..3e67ae2 100644 --- a/tests/GhcSession.hs +++ b/tests/GhcSession.hs @@ -1,4 +1,9 @@ {-# LANGUAGE TupleSections, ScopedTypeVariables, RecordWildCards, RankNTypes, DataKinds #-} + +{-| This test ensures we can get a GHC API session up and running in a variety of + project environments. +-} + module Main where import GHC |