Skip to content
Snippets Groups Projects
Commit 7e7b4e9e authored by Edward Z. Yang's avatar Edward Z. Yang
Browse files

Switch cabal-tests to executable so it is always configured.


Signed-off-by: default avatarEdward Z. Yang <ezyang@cs.stanford.edu>
parent ef432a49
No related branches found
No related tags found
No related merge requests found
......@@ -68,7 +68,7 @@ mkScriptEnv verbosity lbi = do
-- non-Backpack.
cabalTestsPackages :: LocalBuildInfo -> [(OpenUnitId, ModuleRenaming)]
cabalTestsPackages lbi =
case componentNameCLBIs lbi (CTestName (mkUnqualComponentName "cabal-tests")) of
case componentNameCLBIs lbi (CExeName (mkUnqualComponentName "cabal-tests")) of
[clbi] -> componentIncludes clbi
_ -> error "cabalTestsPackages"
......
......@@ -48,8 +48,7 @@ library
build-depends: Win32
default-language: Haskell2010
test-suite cabal-tests
type: exitcode-stdio-1.0
executable cabal-tests
main-is: cabal-tests.hs
hs-source-dirs: main
ghc-options: -threaded -Wall -fwarn-tabs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment