bug-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-recutils] libcheck?


From: Jose E . Marchesi
Subject: Re: [bug-recutils] libcheck?
Date: Sat, 31 Jul 2010 16:05:47 +0200 (CEST)

Hi Ralf.

    librec/configure.ac has:
      dnl Search for required libraries
    
      have_check=yes
      AC_CHECK_LIB([check],[suite_create],,[have_check=no])
      AM_CONDITIONAL([CHECK], [test "x$have_check" != "xno"])
    
    What is libcheck, where can I get it, and why is it needed for
    librec?

`check' is a simple C unit testing framework that lives at
http://check.sf.net.  I used libcheck because it is the testing
infrastructure we use in GNU PDF as well.

Do you know of any other suitable simple C testing framework?
Preferably supporting fork-mode.

    Just wondering, my previous patches were untested, in the sense
    that 'make check' didn't actually run any tests.

Well, actually 'make check' runs some tests in torture/rec-field/ and
torture/rec-record/.  The test driver is in torture/runtests.c.

The test suite needs a lot of love, obviously: the current tests are
more boilerplate than anything else.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]