diff options
author | tv <tv@pkgsrc.org> | 2005-11-07 19:44:58 +0000 |
---|---|---|
committer | tv <tv@pkgsrc.org> | 2005-11-07 19:44:58 +0000 |
commit | 93127545ae9fc04b42c927adb4840362697902da (patch) | |
tree | 296bac7e1eb54a4b01bdc1e3ed088f7589d4f800 /devel/check/patches | |
parent | 543928544294dd8478dc06bc4c72831b33aecde4 (diff) | |
download | pkgsrc-93127545ae9fc04b42c927adb4840362697902da.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/patches')
-rw-r--r-- | devel/check/patches/patch-ab | 28 |
1 files changed, 0 insertions, 28 deletions
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, |