diff options
author | Daniel Gröber <dxld@darkboxed.org> | 2017-12-02 14:52:10 +0100 |
---|---|---|
committer | Daniel Gröber <dxld@darkboxed.org> | 2018-01-18 14:10:26 +0100 |
commit | c886e22d3d526bc76a3f2854ed99ab004c965d8d (patch) | |
tree | f663da14d4bb92450a507e97b96839f186498a19 /tests | |
parent | c4a4fb609c813941f6ac45f2165a92ed85a214bc (diff) |
ghc-session: Add test-suite and benchmark tests
Diffstat (limited to 'tests')
-rw-r--r-- | tests/exeintlib/exeintlib.cabal | 12 | ||||
-rw-r--r-- | tests/exelib/exelib.cabal | 12 |
2 files changed, 22 insertions, 2 deletions
diff --git a/tests/exeintlib/exeintlib.cabal b/tests/exeintlib/exeintlib.cabal index 807aac5..7507152 100644 --- a/tests/exeintlib/exeintlib.cabal +++ b/tests/exeintlib/exeintlib.cabal @@ -18,4 +18,14 @@ library intlib executable exe main-is: Exe.hs build-depends: base, exeintlib - default-language: Haskell2010
\ No newline at end of file + default-language: Haskell2010 + +test-suite exe-test + type: exitcode-stdio-1.0 + main-is: Exe.hs + build-depends: base, exeintlib + +benchmark exe-bench + type: exitcode-stdio-1.0 + main-is: Exe.hs + build-depends: base, exeintlib diff --git a/tests/exelib/exelib.cabal b/tests/exelib/exelib.cabal index 0201b6f..2422998 100644 --- a/tests/exelib/exelib.cabal +++ b/tests/exelib/exelib.cabal @@ -12,4 +12,14 @@ library executable exelib main-is: Exe.hs build-depends: base, exelib - default-language: Haskell2010
\ No newline at end of file + default-language: Haskell2010 + +test-suite exe-test + type: exitcode-stdio-1.0 + main-is: Exe.hs + build-depends: base, exelib + +benchmark exe-bench + type: exitcode-stdio-1.0 + main-is: Exe.hs + build-depends: base, exelib |