From f03e60f73844afe81bdefddce28733ac16da3c4a Mon Sep 17 00:00:00 2001 From: Alan Zimmerman Date: Thu, 14 Dec 2017 16:00:59 +0200 Subject: Tests pass for backpack --- tests/GhcSession.hs | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'tests') diff --git a/tests/GhcSession.hs b/tests/GhcSession.hs index ab07e85..442fccd 100644 --- a/tests/GhcSession.hs +++ b/tests/GhcSession.hs @@ -23,6 +23,16 @@ import System.Process (readProcess) import Distribution.Helper +import Distribution.Types.Executable + ( Executable(..), + exeModules + ) +import qualified Distribution.ModuleName as ModuleName +import Distribution.Types.BuildInfo +import System.FilePath ( (), takeExtension + , takeDirectory, replaceExtension + ,isRelative ) + import CabalHelper.Shared.Common @@ -119,6 +129,7 @@ test dir = do | "-" `isPrefixOf` x = "\n "++x | otherwise = x + compileModule :: NeedsBuildOutput -> ChEntrypoint -> [String] -> IO Bool compileModule nb ep opts = do -- cgit v1.2.3