pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/check Update to 0.9.3. Abbreviated changes:
details: https://anonhg.NetBSD.org/pkgsrc/rev/441f25c1426f
branches: trunk
changeset: 502628:441f25c1426f
user: tv <tv%pkgsrc.org@localhost>
date: Mon Nov 07 19:44:58 2005 +0000
description:
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)
diffstat:
devel/check/Makefile | 4 ++--
devel/check/distinfo | 9 ++++-----
devel/check/patches/patch-ab | 28 ----------------------------
3 files changed, 6 insertions(+), 35 deletions(-)
diffs (60 lines):
diff -r d3e2df507a5e -r 441f25c1426f devel/check/Makefile
--- a/devel/check/Makefile Mon Nov 07 19:35:23 2005 +0000
+++ b/devel/check/Makefile Mon Nov 07 19:44:58 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2005/09/28 20:52:19 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2005/11/07 19:44:58 tv Exp $
#
-DISTNAME= check-0.9.1
+DISTNAME= check-0.9.3
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=check/}
diff -r d3e2df507a5e -r 441f25c1426f devel/check/distinfo
--- a/devel/check/distinfo Mon Nov 07 19:35:23 2005 +0000
+++ b/devel/check/distinfo Mon Nov 07 19:44:58 2005 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2005/03/14 14:19:01 rillig Exp $
+$NetBSD: distinfo,v 1.8 2005/11/07 19:44:58 tv Exp $
-SHA1 (check-0.9.1.tar.gz) = 8fa632d083b6b6fd7ff8cd3bc267d42a92732dcf
-RMD160 (check-0.9.1.tar.gz) = fe2e9d12387da2b35b47f49f836721f1c829940d
-Size (check-0.9.1.tar.gz) = 158743 bytes
+SHA1 (check-0.9.3.tar.gz) = 608bb3bd31f85dcb7e5b7b04eeb4254ef6df0fae
+RMD160 (check-0.9.3.tar.gz) = 86f3c90ea02a02c49fdae6d477f6709f1b7f5993
+Size (check-0.9.3.tar.gz) = 163726 bytes
SHA1 (patch-aa) = 959c2a5b72eb722b54b8c486b2a69f8202c0a053
-SHA1 (patch-ab) = d8329fdd10dbb01c528213282c2e5849d607dfd1
diff -r d3e2df507a5e -r 441f25c1426f devel/check/patches/patch-ab
--- a/devel/check/patches/patch-ab Mon Nov 07 19:35:23 2005 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2005/03/14 14:19:01 rillig Exp $
-
-This patch makes check compile with cpp-2.95.3. The bug which it fixes
-is quite subtile. When fail_if(x) is expanded, the preprocessor deletes
-the last token before the ##. For cpp-2.95, this token starts with the
-"f" of failed. Later versions of cpp just remove the comma.
-
---- src/check.h.in.orig Wed Aug 18 14:03:46 2004
-+++ src/check.h.in Mon Mar 14 13:29:49 2005
-@@ -157,15 +157,15 @@ static void __testname (void)\
- /* Fail the test case unless expr is true */
- #define fail_unless(expr, msg, args...)\
- _fail_unless(expr, __FILE__, __LINE__,\
-- msg ? msg : "Assertion '"#expr"' failed", ##args)
-+ msg ? msg : "Assertion '"#expr"' failed" , ##args)
-
- /* Fail the test case if expr is true */
- #define fail_if(expr, msg, args...)\
- _fail_unless(!(expr), __FILE__, __LINE__,\
-- msg ?msg :"Assertion '"#expr"' failed", ##args)
-+ msg ?msg :"Assertion '"#expr"' failed" , ##args)
-
- /* Always fail */
--#define fail(msg, args...) _fail_unless(0, __FILE__, __LINE__, msg, ##args)
-+#define fail(msg, args...) _fail_unless(0, __FILE__, __LINE__, msg , ##args)
-
- /* Non macro version of #fail_unless, with more complicated interface */
- void _fail_unless (int result, const char *file,
Home |
Main Index |
Thread Index |
Old Index