git-annex/Types/Test.hs
Joey Hess 730cc3feb5 wire tasty's option parser into the main program option parser
This makes bash completion work for git-annex test, and is
generally cleaner.
2015-07-13 13:20:10 -04:00

22 lines
370 B
Haskell

{- git-annex test data types.
-
- Copyright 2011-2015 Joey Hess <id@joeyh.name>
-
- Licensed under the GNU GPL version 3 or higher.
-}
{-# LANGUAGE CPP #-}
module Types.Test where
#ifdef WITH_TESTSUITE
import Test.Tasty.Options
#endif
#ifdef WITH_TESTSUITE
type TestOptions = OptionSet
#else
type TestOptions = ()
#endif
type TestRunner = TestOptions -> IO ()