Commit graph

23 commits

Author SHA1 Message Date
obache
1557ae2834 Update check to 0.9.8.
Based on PR#43757 by Kamel Derouiche.

Tue, Sep 22, 2009: Released Check 0.9.8
  based on r559 (2009-09-23 21:00).

* Fix CHECK_MICRO_VERSION, left at 6 in 0.9.7 by mistake.

Tue, Sep 22, 2009: Released Check 0.9.7
  based on r552 (2009-09-22 09:26).

* Added CK_SUBUNIT support for outputting test information in the subunit wire
  protocol. See the check manual for more information. (Contributed by Robert
  Collins).

* Added code and tests for timeout scaling via environment variable.
  Feature requested in tracker item #1549835 on sourceforge.

* Added documentation for testing exit values with tcase_add_exit_test().

* Add make_macros perl script from somebody (who?)

* add type to check_type error message

* add contrib dir with xslt transform

* function exist testing support (patch #1726574).

* introduce HAVE_WORKING_SETENV to protect tc_timeout_env usage

* support running tests with multiple pthreads (Daniel Gollub, closes 1391527)

* partial MSYS/MinGW support

Mon, Dec 29, 2008: Released Check 0.9.6
  based on r453 (2008-12-01 22:14:15).

* 'make distcheck' does not work out of the box. Disable the two
  top lines in doc/Makefile.am and it shall pass. Will have to
  be fixed later.

* add call to AC_REPLACE_FUNCS([strsignal])
* add new rpl_strsignal following rpl_(re)malloc template, body
  of function due to Roland Illig
  -- hopefully closes 1629755

* add missing NULL argument to fail* varargs macro calls
* define incorrect tests for __GNUC__ only
   -- both per Roland Illig in bug 1677391

* define CK_ATTRIBUTE_UNUSED for GCC >= 2.95, closing:
  [ 1674626 ] compile error with non defined __attribute__ compiler

* Fixed error in documentation example Makefile.am, bug #1888237

* Fixed spelling (patch #1652630)

* Handle NULL in srunner_add_suite(). Fixes #1624887

* add CK_FORK_GETENV to enum fork_status and delete CK_FORK_UNSPECIFIED

* call strdup on result from strsignal to avoid clobbering it
* add Torok Edwin to AUTHORS

* add CK_TEST_RESULT_INVALID to enum test_result

* add CK_CTX_INVALID to ck_result_ctx and don't use -1 anymore

* count checks in setup() as well; patch due to Roland Stigge

* use int __attribute__((unused)) _i instead of
      int _i __attribute__((unused))
  per gcc-3.3.5 request from Sebastian Trahm

* rename signal to _signal in _tcase_add_test to avoid a
  symbol clash with /usr/include/sys/signal.h on OS X.

* define rpl_malloc and rpl_realloc for platforms where
  !malloc(0) and !realloc(0,0), such as AIX, because configure
  goes and redefines malloc/realloc in this case...

* SVNChangeLog patch from Robert Collins

* Incorporated patch from Debian for debian bug #395466. This fixes
   'AM_PATH_CHECK causes "possibly undefined macro" errors'.

* Added new Check fail API. Implemented on top of fail_unless. Future
  versions will reverse this so fail_unless is implemented on top of the
  ck_assert API. This API is not documented yet, will probably not be fully
  released until 0.9.8, when it will be possible to choose API.
2010-08-18 04:36:13 +00:00
joerg
0268c554bd Remove @dirrm entries from PLISTs 2009-06-14 17:38:38 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
obache
020a98495f Marked as DESTDIR ready. 2008-04-16 13:03:43 +00:00
rillig
f2e3821285 Portability fixes for IRIX with MIPSpro. 2007-03-09 16:25:56 +00:00
drochner
a94532b8b4 update to 0.9.5 and add a .bl3 file
changes:
* Updated manual and converted from DocBook to Texinfo
* Added pkg-config support
* Added Libtool support
* Updated GNU Build System
-bugfixes
* Added a new kind of test, looping tests
* Added possibility to turn off timeout tests
2007-02-01 19:07:23 +00:00
rillig
e302a7b4a9 Added a patch for SunPro. 2006-09-24 10:30:41 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
tv
7c05e63c4d Fix PLIST botch (as in, "I forgot to update the PLIST with the DISTNAME").
Bump PKGREVISION.

Thanks wiz@ for catching it.
2005-11-11 20:45:44 +00:00
tv
57f3959cf9 Update to 0.9.3. Abbreviated changes:
+	* src/check.h.in: Added include of stddef.h for NULL definition

+	* doc/tutorial.sgml: Fixed sourceforge bug #1216502

+	Refactored messaging to use the new tmpfile() method all the way,
+	removing the message keys, pipes, pipe entries and pipe list. This
+	makes the messaging work with forking tests, and also with threading
+	tests on linux 2.4 (on 2.6 it already worked). Added check_fork and
+	check_waitpid_and_exit to be used for forking tests.

+	* src/check.h.in: Fixed compatibility with gcc 2.95.3 according
+	to sourceforge patch #1161654.

+	* src/check_run.c, tests/check_check_master.c: Changed timeout
+	error message according to sourceforge feature request #1121452.

+	* tests/ex_xml_output.c, tests/ex_log_output.c, tests/ex_output.c,
+	  src/check_log.c:
+	  Fixed memory leaks.

+	* check.m4, config.h.in, configure.in, src/check_pack.c: Fixed
+	quoting and added configure test for stdint.h.

+	* src/check_run.c, tests/check_check_master.c: Use strsignal
+	to print describing text for signals.

+	* doc/tutorial.sgml: Documented signals handling and timeouts.

+	* tests/check_check_master.c src/check.h.in:
+	Changed failure message for fail_if.

+	* src/check.c, src/check.h.in, src/check_impl.h, src/check_run.c,
+	tests/check_check_master.c, tests/check_check_sub.c:
+	Added support for timeouts on tests, enabling detection of
+	eternal loops as errors.

+	* src/check.c, src/check.h.in, src/check_impl.h, src/check_run.c,
+	tests/check_check_master.c, tests/check_check_sub.c:
+	Added support for testing on expected signals. Implementation
+	courtesy of Lucas Di Pentima and Cesar Ballardini. Also cleaned
+	up the test verification to simplify merging of new tests.

+        * src/check.c, src/check_list.c, src/check_list.h, src/check_log.c,
+	src/check_msg.c, tests/check_list.c:
+	Changed name on function list_create to check_list_create to avoid
+	name clash.

+	* src/check.c, src/check.h.in, tests/check_check_master.c,
+	tests/check_check_sub.c: Applied ANSI C99 patch (#1047014)
2005-11-07 19:44:58 +00:00
rillig
5946936ffc Replaced "# defined" with "yes" in Makefile variables like GNU_CONFIGURE,
NO_BUILD, USE_LIBTOOL.
2005-09-28 20:52:18 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
rillig
82860241e7 Replaced the last patch. It had been for check-0.9.2, but we currently only
have check-0.9.1.
2005-03-14 14:19:01 +00:00
rillig
bfd186586d Added a patch to make check compile with cpp-2.95.3. Approved by wiz. 2005-03-11 22:20:49 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
cube
a2321f4a20 Update to version 0.9.1. From PR#27038 by Roland Illig.
Fri, Sep 3, 2004: Released Check 0.9.1

Updated tutorial with new features.
Added support for XML output of the test results, courtesy of Frederic Peters.
Fixed setup bug from forum, failure in setup did not abort test in nofork mode.
Applied varargs patch (#933411) and added test cases.
Applied fail_if (#709167) patch.
Applied 'newbies' patch #995028 for autoconf doc.
Applied doc patch #995028 from Bill Barnard.
Fixed portability problems tests by changing == to =.
Changed copyright according to bug report.
Applied patch 796705. Replacing _exit with exit.
Applied patch for bug 793671.


Mon, May 17, 2004: Released Check 0.9.0

Run fixture teardowns in reverse order to setup
Plugged some memory leaks.
Added test name to log outputs.
Applied patch (802160) for distcheck bug (579604).
Fixed log printouts for nofork mode.
Updated documentation and converted to DocBook.

Added a new print mode, CK_ENV, that gets the print mode from the
environment variable CK_VERBOSITY.

Made tcase_free and suite_free static. This may break existing test
programs. Everything is now freed when srunner_free is called.
2004-09-27 20:41:19 +00:00
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
uebayasi
8a7a097674 Always install only HTML format documents instead of LyX format (!).
Bump revision to 1.
2003-06-23 07:10:41 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
wiz
7b4862b80e Update to 0.8.4. Fix PLIST.
Changes:
Fixed pipe issues.
Allow to use check.h from C++.
Plugged some memory leaks.
2002-10-22 16:57:56 +00:00
cjs
f28de2b4ad Unit test package for the C language. 2002-06-26 07:16:38 +00:00