[Libguestfs] [PATCH 1/2] mllib: Require OUnit2 for tests.

Pino Toscano ptoscano at redhat.com
Mon May 11 17:22:58 UTC 2015


On Monday 11 May 2015 11:11:50 Richard W.M. Jones wrote:
> OUnit2 has an OUnit (v1) compatibility module.  Unfortunately it
> is rather gravely broken:
> https://forge.ocamlcore.org/tracker/?func=detail&aid=1392&group_id=162&atid=730
> 
> Since there is no new release fixing this, it's easier to switch to
> using OUnit2 for unit tests.

A pity, for the bug and the fact that there's no oUnit v2 for
Fedora 21...
It is not a problem for me anyway, just ...

> ---
>  .gitignore                  |  2 +-
>  README                      |  2 +-
>  mllib/JSON_tests.ml         | 56 ++++++++++++++++++++-------------------------
>  mllib/Makefile.am           |  2 ++
>  mllib/common_utils_tests.ml | 50 +++++++++++++++++-----------------------
>  5 files changed, 50 insertions(+), 62 deletions(-)

... please adjust configure.ac to look for oUnit2 instead of oUnit.

-- 
Pino Toscano




More information about the Libguestfs mailing list