Commit 4355b2de authored by Iustin Pop's avatar Iustin Pop
Browse files

Add new Haskell library dependency for tests

The 'temporary' library add support for create temporary
directories/files beyond what is offered in the base library (which is
somewhat limited, and hard to use in tests).
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichele Tartara <>
parent a664325e
......@@ -553,6 +553,7 @@ AC_GHC_PKG_CHECK([QuickCheck-2.*], [], [HTOOLS_NODEV=1], t)
AC_GHC_PKG_CHECK([test-framework-0.6*], [], [HTOOLS_NODEV=1], t)
AC_GHC_PKG_CHECK([test-framework-hunit], [], [HTOOLS_NODEV=1])
AC_GHC_PKG_CHECK([test-framework-quickcheck2], [], [HTOOLS_NODEV=1])
AC_GHC_PKG_CHECK([temporary], [], [HTOOLS_NODEV=1])
# FIXME: unify checks for non-test libraries (attoparsec, hinotify, ...)
# that are needed to execute the tests, avoiding the duplication
# of the checks.
......@@ -74,6 +74,8 @@ document, plus:
- `shelltestrunner <>`_, used for
running shell-based unit-tests
- `temporary <>`_ library,
tested with version
Under Debian Wheezy or later, these can be installed (on top of the
required ones from the quick install document) via::
......@@ -82,13 +84,14 @@ required ones from the quick install document) via::
libghc-test-framework-dev \
libghc-test-framework-quickcheck2-dev \
libghc-test-framework-hunit-dev \
libghc-temporary-dev \
hscolour hlint
Or alternatively via ``cabal``::
$ cabal install QuickCheck HUnit \
test-framework test-framework-quickcheck2 test-framework-hunit \
hscolour hlint shelltestrunner
temporary hscolour hlint shelltestrunner
Configuring for development
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment