File: test-parseargs.hs

package info (click to toggle)
haskell-parseargs 0.2.0.9-5
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 132 kB
  • sloc: haskell: 569; sh: 18; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
-- Stupid glue for "cabal test"
-- http://stackoverflow.com/a/31214045/364875

import System.Exit
import System.Process

main = do
  result <- system "./test-parseargs.sh"
  case result of
    ExitSuccess -> return ()
    _ -> exitFailure