summaryrefslogtreecommitdiff
path: root/devel/check
diff options
context:
space:
mode:
authortv <tv@pkgsrc.org>2005-11-07 19:44:58 +0000
committertv <tv@pkgsrc.org>2005-11-07 19:44:58 +0000
commit57f3959cf9ca5bc22ae8c7304de6cee2708fb987 (patch)
tree296bac7e1eb54a4b01bdc1e3ed088f7589d4f800 /devel/check
parenta814d22796fe41ebf3281c237a662017b0f4bb2c (diff)
downloadpkgsrc-57f3959cf9ca5bc22ae8c7304de6cee2708fb987.tar.gz
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 (limited to 'devel/check')
-rw-r--r--devel/check/Makefile4
-rw-r--r--devel/check/distinfo9
-rw-r--r--devel/check/patches/patch-ab28
3 files changed, 6 insertions, 35 deletions
diff --git a/devel/check/Makefile b/devel/check/Makefile
index 3e038b989db..00e12720508 100644
--- a/devel/check/Makefile
+++ b/devel/check/Makefile
@@ -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 --git a/devel/check/distinfo b/devel/check/distinfo
index 468f9f740cc..1c6e6bed98a 100644
--- a/devel/check/distinfo
+++ b/devel/check/distinfo
@@ -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 --git a/devel/check/patches/patch-ab b/devel/check/patches/patch-ab
deleted file mode 100644
index f51bc2c3da8..00000000000
--- a/devel/check/patches/patch-ab
+++ /dev/null
@@ -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,