Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reconfigured cabal file to use new Cabal test framework.
Now run tests with cabal configure --enable-tests cabal build cabal test
- Loading branch information
Showing
2 changed files
with
7 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,3 @@ | ||
#!/usr/bin/env runhaskell | ||
> import Distribution.Simple | ||
> import System.Process | ||
> import System.Exit | ||
|
||
> main = defaultMainWithHooks $ simpleUserHooks { runTests = runTestSuite } | ||
|
||
Run test suite. | ||
|
||
> runTestSuite _ _ _ _ = runCommand "./dist/build/test-filestore/test-filestore" >>= waitForProcess >>= exitWith | ||
|
||
> main = defaultMain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters