Skip to content
Snippets Groups Projects
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 <iustin@google.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
parent a664325e
No related branches found
No related tags found
No related merge requests found
......@@ -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:
it
- `shelltestrunner <http://joyful.com/shelltestrunner>`_, used for
running shell-based unit-tests
- `temporary <https://github.com/batterseapower/temporary/>`_ library,
tested with version 1.1.2.3
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment