summaryrefslogtreecommitdiff
path: root/configure.hs
diff options
context:
space:
mode:
Diffstat (limited to 'configure.hs')
-rw-r--r--configure.hs8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure.hs b/configure.hs
index 3fb0671e7..6fdc5fcb0 100644
--- a/configure.hs
+++ b/configure.hs
@@ -8,14 +8,16 @@ import Utility.StatFS
tests :: [TestCase]
tests = [ TestCase "StatFS" testStatFS
- ] ++ Configure.tests
+ ] ++ Configure.tests False
{- This test cannot be included in Build.Configure due to needing
- - Utility/StatFS.hs to be built. -}
+ - Utility/StatFS.hs to be built, which it is not when "cabal configure"
+ - is run. -}
testStatFS :: Test
testStatFS = do
s <- getFileSystemStats "."
- return $ Config "statfs_sane" $ BoolConfig $ isJust s
+ return $ Config "statfs_sanity_checked" $
+ MaybeBoolConfig $ Just $ isJust s
main :: IO ()
main = Configure.run tests