File tree 3 files changed +12
-8
lines changed
3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change 1
1
#!/usr/bin/env runhaskell
2
2
> import Distribution. Simple
3
- > import System. Cmd
4
- >
5
- > main = defaultMainWithHooks hooks
6
- > where hooks = simpleUserHooks { runTests = runTests' }
7
- >
8
- > runTests' _ _ _ _ = system " tests/run.sh" >> return ()
3
+ > main = defaultMain
Original file line number Diff line number Diff line change 1
1
{-# OPTIONS_GHC -XTemplateHaskell #-}
2
- module ListWidgetTest where
3
-
4
2
import Test.Framework.TH
5
3
import Test.Framework.Providers.QuickCheck2
6
4
Original file line number Diff line number Diff line change @@ -48,3 +48,14 @@ executable vimus
48
48
Vimus
49
49
Widget
50
50
WindowLayout
51
+
52
+ test-suite default
53
+ type : exitcode-stdio-1.0
54
+ main-is : ListWidgetTest.hs
55
+ hs-source-dirs : tests, src
56
+ build-depends :
57
+ QuickCheck
58
+ , test-framework-quickcheck2
59
+ , test-framework-th
60
+
61
+ cpp-options : -DTEST
You can’t perform that action at this time.
0 commit comments