File: FilesystemTests.hs

package info (click to toggle)
haskell-system-fileio 0.3.11-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 156 kB
  • ctags: 15
  • sloc: haskell: 1,285; ansic: 147; sh: 51; makefile: 2
file content (30 lines) | stat: -rw-r--r-- 587 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{-# LANGUAGE CPP #-}
{-# LANGUAGE ForeignFunctionInterface #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE TemplateHaskell #-}

-- Copyright (C) 2011 John Millikin <jmillikin@gmail.com>
--
-- See license.txt for details
module Main
	( tests
	, main
	) where

import           Test.Chell

#ifdef CABAL_OS_WINDOWS
import           FilesystemTests.Windows (test_Windows)
#else
import           FilesystemTests.Posix (test_Posix)
#endif

main :: IO ()
main = Test.Chell.defaultMain tests

tests :: [Suite]
#ifdef CABAL_OS_WINDOWS
tests = [test_Windows]
#else
tests = [test_Posix]
#endif