File: RunTests.hs

package info (click to toggle)
haskell-bimap 0.5.0-3
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 108 kB
  • sloc: haskell: 745; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 342 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/env runhaskell
{-# LANGUAGE TemplateHaskell #-}

{-
A stub file that uses Test.Util to extract and splice all the
test names from Test.Tests.
-}

import Test.Tests
import Test.Util
import System.Exit

main :: IO ()
main = do
  allPassed <- $( extractTests "Test/Tests.hs" )
  if allPassed
    then exitSuccess
    else exitFailure