]>
granicus.if.org Git - check/log
hugo303 [Tue, 3 Feb 2009 13:38:12 +0000 (13:38 +0000)]
* Added Roy Merkel for exit test patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@530
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Tue, 3 Feb 2009 13:36:16 +0000 (13:36 +0000)]
* Applied patch #
1726574 , with some modifications.
The idea is to create a mechanism to verify that functions exit
early with specific exit values, analogous to the existing signal
test mechanism.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@529
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Mon, 2 Feb 2009 18:55:58 +0000 (18:55 +0000)]
* use Date property for index.html
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@528
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Mon, 2 Feb 2009 12:45:08 +0000 (12:45 +0000)]
* Fixed the irritating line number issue in the sub test suite. Using
preprocessor stuff the expected line numbers in the failure messages
are now autogenerated. It's not the most beautiful solution, but it
works lightyears better than the hardcoded code that was.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@527
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 1 Feb 2009 20:40:55 +0000 (20:40 +0000)]
* add GNUpdf to list of projects using Check
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@526
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Fri, 30 Jan 2009 11:46:36 +0000 (11:46 +0000)]
* Removed unnecessary setting of fork status from
srunner_run_unchecked_teardown(). Folded common logic for both
teardown functions into a common function.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@525
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 27 Jan 2009 07:17:33 +0000 (07:17 +0000)]
* add inbox dir with remaining msvc patch
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@524
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sat, 24 Jan 2009 19:43:02 +0000 (19:43 +0000)]
* add Enlightenment Eet and Eina libs to list of projects using Check
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@523
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 13 Jan 2009 07:53:31 +0000 (07:53 +0000)]
* ignore check_thread_stress
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@522
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Thu, 1 Jan 2009 02:52:11 +0000 (02:52 +0000)]
* add more assert (0)'s to broken implementations
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@521
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Thu, 1 Jan 2009 02:38:44 +0000 (02:38 +0000)]
* rearrange definitions and declarations in check_run.c so that all of
the forking stuff is grouped together, all the static functions are
grouped together, and all the non-static functions are grouped
together.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@520
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Thu, 1 Jan 2009 02:14:35 +0000 (02:14 +0000)]
* protect all unused declarations & definitions with _POSIX_VERSION
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@519
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Thu, 1 Jan 2009 01:23:31 +0000 (01:23 +0000)]
* try to detect CK_FORK problem on non-POSIX right after getenv() call
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@518
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Thu, 1 Jan 2009 01:13:21 +0000 (01:13 +0000)]
* align src/ more closely with Friedrich Beckmann's windows patch
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@517
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Thu, 1 Jan 2009 00:33:24 +0000 (00:33 +0000)]
* protect files in tests/ per Friedrich Beckmann, using _POSIX_VERSION
instead of HAVE_FORK
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@516
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Thu, 1 Jan 2009 00:06:54 +0000 (00:06 +0000)]
* protect all calls to exit with _POSIX_VERSION, except in eprintf
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@515
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 23:45:29 +0000 (23:45 +0000)]
* introduce HAVE_WORKING_SETENV to protect tc_timeout_env usage
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@514
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 23:14:25 +0000 (23:14 +0000)]
* add `assert (0)' to unimplemented functions to make them fail
with filename and hence function information
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@513
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 22:56:53 +0000 (22:56 +0000)]
* define sendinfo() conditionally to silence warning
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@512
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 22:53:50 +0000 (22:53 +0000)]
* implement localtime_r
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@511
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 22:41:27 +0000 (22:41 +0000)]
* move #include <sys/time.h> and <time.h> to libcompat.h
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@510
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 22:33:45 +0000 (22:33 +0000)]
* move #include <sys/wait.h> to libcompat.h
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@509
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 21:39:41 +0000 (21:39 +0000)]
* set svn:ignore to include more generated stuff
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@508
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 04:41:02 +0000 (04:41 +0000)]
* ensure XFAIL without _POSIX_VERSION
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@507
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 04:38:16 +0000 (04:38 +0000)]
* add check_thread_stress to tests and XFAIL_TESTS
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@506
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 04:37:35 +0000 (04:37 +0000)]
* add blank line to fix line numbers
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@505
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 04:28:11 +0000 (04:28 +0000)]
* fix indenting again
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@504
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 04:14:15 +0000 (04:14 +0000)]
* use CK_VERBOSE instead of CK_SILENT (for now)
* protect pthread test with HAVE_PTHREAD
* protect fork test with _POSIX_VERSION
* call exit() in fork test child
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@503
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 03:05:58 +0000 (03:05 +0000)]
* depend exclusively on #include "../lib/libcompat.h" to provide config.h
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@502
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 03:01:37 +0000 (03:01 +0000)]
* move #include <unistd.h> and <pthread.h> to libcompat.h
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@501
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 02:54:03 +0000 (02:54 +0000)]
* run GNU indent on check_thread_stress.c, and then adjust whitespace
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@500
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 02:51:26 +0000 (02:51 +0000)]
* convert check_thread_stress to run actual fork and pthread tests
- implementation again due to Daniel Gollub
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@499
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 02:23:58 +0000 (02:23 +0000)]
* include config.h and ../lib/libcompat.h
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@498
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 31 Dec 2008 02:23:32 +0000 (02:23 +0000)]
* set CC outside of ACX_PTHREAD
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@497
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 22:12:20 +0000 (22:12 +0000)]
* silence check_thread_stress warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@496
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 21:45:26 +0000 (21:45 +0000)]
* support running tests with multiple pthreads
- protect write in ppack() using a pthread mutex
- use ACX_PTHREAD for portability
- tests/check_thread_stress will test this for now
- fix due to Daniel Gollub
- closes
1391527
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@495
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 21:20:48 +0000 (21:20 +0000)]
* add ACX_PTHREAD files
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@494
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 09:15:08 +0000 (09:15 +0000)]
* add todo
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@493
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 07:14:50 +0000 (07:14 +0000)]
* adjust line numbers to make all tests pass again
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@492
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 06:47:35 +0000 (06:47 +0000)]
* adjust line numbers of expected output
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@491
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 06:21:44 +0000 (06:21 +0000)]
* add pipe(2) stub
- now both src/ and tests/ compile and link properly on MSYS/MinGW!
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@490
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 05:31:43 +0000 (05:31 +0000)]
* Various fixes towards building shared libraries on mingw:
- add -no-undefined flag to <lib>_LDFLAGS for mingw library creation
- add libcheckinternal_la_LIBADD
- don't use LIBADD by itself for src/Makefile.am since
libcheck_la_LIBADD clobbers it
- add libcompat.la to *_LDADD and *_LIBADD
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@489
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 02:50:52 +0000 (02:50 +0000)]
* check for putenv as well
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@488
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 02:45:58 +0000 (02:45 +0000)]
* copy CK_ATTRIBUTE_UNUSED definition to libcompat.h (evil)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@487
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 02:40:50 +0000 (02:40 +0000)]
* #include "../lib/libcompat.h" in tests/*.c
* don't include check.h in libcompat.h
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@486
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 02:26:56 +0000 (02:26 +0000)]
* #include "../lib/libcompat.h" everywhere
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@485
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 02:25:44 +0000 (02:25 +0000)]
* use #ifndef LIBCOMPAT_H ... #endif idiom
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@484
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 02:24:48 +0000 (02:24 +0000)]
* take malloc and realloc out of AC_CHECK_DECLS (they are always declared)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@483
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 02:17:15 +0000 (02:17 +0000)]
* use HAVE_DECL_FUNCTION instead of HAVE_FUNCTION
* add bodies for all lib/ .c files
* rely on libcompat.h to provide common #includes
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@482
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 30 Dec 2008 01:37:21 +0000 (01:37 +0000)]
* only check for those functions that we currently need to check for
to solve portability problems, and avoid checking for things where
we don't currently use the result generated in config.h
* add stubs for setenv, unsetenv, localtime_r, and fileno
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@481
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Mon, 29 Dec 2008 22:28:42 +0000 (22:28 +0000)]
* list OpenSync as client
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@480
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Mon, 29 Dec 2008 15:46:39 +0000 (15:46 +0000)]
* Merged release branch 0.9.6
svn merge -r476:477 ../tags/check-0.9.6
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@479
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Mon, 29 Dec 2008 15:34:22 +0000 (15:34 +0000)]
* Updated with more info on releases.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@478
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 23:38:12 +0000 (23:38 +0000)]
* add strdup.c to lib/ (there are problems on mingw with strdup)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@475
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 23:24:25 +0000 (23:24 +0000)]
* use AX_CFLAGS_WARN_ALL_ANSI
* remove tests that support fail() and friends without NULL
- otherwise GCC complains about this not being ISO C99
* remove setting -ansi and -pedantic in src/Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@474
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 23:00:21 +0000 (23:00 +0000)]
* silence warning when nothing is included in libcompat
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@473
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 22:51:20 +0000 (22:51 +0000)]
* add more CK_ATTRIBUTE_UNUSED's
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@472
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 22:16:00 +0000 (22:16 +0000)]
* silence some more unused parameter warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@471
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 22:09:48 +0000 (22:09 +0000)]
* move CK_ATTRIBUTE_UNUSED attribute after parameter name in sleep()
and __testname()
* add CK_ATTRIBUTE_UNUSED to fname parameter in tcase_fn_start
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@470
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 21:30:16 +0000 (21:30 +0000)]
* mark print_mode parameter as unused in two cases
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@469
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 21:26:01 +0000 (21:26 +0000)]
* include libcompat.h in each lib .c file and reduce boilerplate
* mark sleep seconds parameter unused
* make strsignal() non-static
* include ../src/check.h in libcompat.h
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@468
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 21:05:31 +0000 (21:05 +0000)]
* #include "../lib/libcompat.h" in two places
* change .. in LDADD and LIBADD to $(top_builddir)
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@467
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 20:47:06 +0000 (20:47 +0000)]
* add libcompat.h with prototypes for libcompat functions
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@466
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 19:58:42 +0000 (19:58 +0000)]
* use AC_USE_SYSTEM_EXTENSIONS instead of #define _GNU_SOURCE
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@465
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 07:39:38 +0000 (07:39 +0000)]
* replace sleep() as well
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@464
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 07:19:25 +0000 (07:19 +0000)]
* add libcompat.la to LDADD
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@463
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 07:16:08 +0000 (07:16 +0000)]
* msys/gcc portability:
- protect calls to fork/sleep/kill with _POSIX_VERSION
- protect inclusion of sys/wait.h with #if HAVE_SYS_WAIT_H
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@462
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 06:55:42 +0000 (06:55 +0000)]
* add missing libcompat.c
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@461
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 06:53:08 +0000 (06:53 +0000)]
* add missing lib/Makefile.am
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@460
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 06:51:34 +0000 (06:51 +0000)]
* move strsignal, malloc, and realloc to lib/ subdir, as recommended
by Automake manual
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@459
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 06:37:59 +0000 (06:37 +0000)]
* add lib dir for libcompat
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@458
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 28 Dec 2008 06:24:38 +0000 (06:24 +0000)]
* add missing @LTLIBOJBS@ to libcheck_la_DEPENDENCIES
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@457
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Wed, 24 Dec 2008 00:03:12 +0000 (00:03 +0000)]
* use LTLIBOBJS instead of LIBOJBS since we're building a library
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@456
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 23 Dec 2008 05:04:01 +0000 (05:04 +0000)]
* Fix problems with the use of AC_FUNC_MALLOC, AC_FUNC_REALLOC, and
AC_REPLACE_FUNCS([strsignal]):
- add @LIBOBJS@ to libcheck_la_LIBADD and libcheckinternal_la_LIBADD
- create separate malloc.c, realloc.c, and strsignal.c files
- move function definitions from check.c into these files
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@455
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Tue, 23 Dec 2008 01:40:31 +0000 (01:40 +0000)]
* Changes to make the src/ directory compile with gcc/MSYS:
- protect inclusion of sys/wait.h with HAVE_SYS_WAIT_H
- protect POSIX-only calls with _POSIX_VERSION
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@454
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Mon, 1 Dec 2008 21:14:15 +0000 (21:14 +0000)]
* add note about CFLAGS and ax_cflags_gcc_option to TODO
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@453
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Mon, 1 Dec 2008 21:10:44 +0000 (21:10 +0000)]
* add exported.sym to ignored files
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@452
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 30 Nov 2008 20:00:40 +0000 (20:00 +0000)]
* update TODO
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@451
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 30 Nov 2008 08:49:41 +0000 (08:49 +0000)]
* set some svn:ignore properties so svn status works better
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@450
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 30 Nov 2008 07:11:42 +0000 (07:11 +0000)]
* add Cygwin, MinGW, MSVC to TODO
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@449
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 30 Nov 2008 07:03:49 +0000 (07:03 +0000)]
* 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
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@448
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 30 Nov 2008 05:30:49 +0000 (05:30 +0000)]
* add missing NULL argument to fail* varargs macro calls
* define incorrect tests for __GNUC__ only
-- both per Roland Illig in bug
1677391
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@447
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 30 Nov 2008 03:38:06 +0000 (03:38 +0000)]
* define CK_ATTRIBUTE_UNUSED for GCC >= 2.95, closing:
[
1674626 ] compile error with non defined __attribute__ compiler
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@446
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sun, 30 Nov 2008 03:30:21 +0000 (03:30 +0000)]
* mention that texinfo is for documentation, and that any TeX
installation will do in dependencies section
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@445
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Sat, 15 Nov 2008 18:23:14 +0000 (18:23 +0000)]
* set svn:ignore for generated files so svn status is useful
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@443
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Wed, 12 Nov 2008 19:03:48 +0000 (19:03 +0000)]
* Fixed error in documentation example Makefile.am, bug #
1888237
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@442
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Mon, 10 Nov 2008 22:05:13 +0000 (22:05 +0000)]
* Fixed spelling (patch #
1652630 )
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@441
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Mon, 10 Nov 2008 21:44:52 +0000 (21:44 +0000)]
* Handle NULL in srunner_add_suite(). Fixes #
1624887
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@440
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Mon, 10 Nov 2008 21:25:27 +0000 (21:25 +0000)]
* Fixed faulty link to Daimonin
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@439
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
hugo303 [Mon, 10 Nov 2008 21:23:10 +0000 (21:23 +0000)]
* Updated chapter 3.3 (bug #
2053018 )
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@438
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Thu, 28 Aug 2008 20:49:06 +0000 (20:49 +0000)]
* add scew
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@437
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 22:16:13 +0000 (22:16 +0000)]
* use @top_srcdir@/src/check.h.in instead of check.h.in
-- fixes broken make distcheck
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@435
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 22:04:41 +0000 (22:04 +0000)]
* add '|| test $$? -eq 1;' after each diff command per
OpenBSD 4.2 problems Torok Edwin was having.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@434
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 21:45:37 +0000 (21:45 +0000)]
* add CK_FORK_GETENV to enum fork_status and delete CK_FORK_UNSPECIFIED
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@433
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 21:10:16 +0000 (21:10 +0000)]
* add comment about strsignal overwriting string returned by previous call
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@432
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 20:44:52 +0000 (20:44 +0000)]
* call strdup on result from strsignal to avoid clobbering it
* add Torok Edwin to AUTHORS
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@431
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 18:54:36 +0000 (18:54 +0000)]
* add CK_TEST_RESULT_INVALID to enum test_result
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@430
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 18:26:50 +0000 (18:26 +0000)]
* add CK_CTX_INVALID to ck_result_ctx and don't use -1 anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@429
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 17:54:42 +0000 (17:54 +0000)]
* favour ax_c_check_flag over ax_cflags_gcc_option
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@428
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a
cpickett [Fri, 21 Mar 2008 17:22:43 +0000 (17:22 +0000)]
* add options using AX_CFLAGS_GCC_OPTION
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@427
64e312b2 -a51f-0410-8e61-
82d0ca0eb02a