]> granicus.if.org Git - check/log
check
11 years ago* Update for release
hugo303 [Thu, 18 Apr 2013 08:54:00 +0000 (08:54 +0000)]
* Update for release

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@739 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* Update for release
hugo303 [Thu, 18 Apr 2013 08:34:22 +0000 (08:34 +0000)]
* Update for release

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@738 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* ignore a bunch of generated files
cpickett [Mon, 25 Feb 2013 09:56:47 +0000 (09:56 +0000)]
* ignore a bunch of generated files

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@737 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* rename m4_ax_create_stdint_h.m4 to ax_create_stdint_h.m4
cpickett [Mon, 25 Feb 2013 09:38:37 +0000 (09:38 +0000)]
* rename m4_ax_create_stdint_h.m4 to ax_create_stdint_h.m4
* svn ignore generated check_stdint.h

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@736 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agoAdd to NEWS file
brarcher [Sat, 16 Feb 2013 06:15:40 +0000 (06:15 +0000)]
Add to NEWS file

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@735 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agoUse AC_CREATE_STDINT_H instead of AC_CHECK_HEADERS
brarcher [Sat, 16 Feb 2013 06:04:41 +0000 (06:04 +0000)]
Use AC_CREATE_STDINT_H instead of AC_CHECK_HEADERS

This is based on patch 1174961 from the tracker, submitted by
Travis Spencer.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@734 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* clarify a couple things
cpickett [Tue, 12 Feb 2013 00:00:44 +0000 (00:00 +0000)]
* clarify a couple things

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@703 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* clean up AUTHORS, and split lists into maintainers, ex-maintainers,
cpickett [Mon, 11 Feb 2013 23:29:19 +0000 (23:29 +0000)]
* clean up AUTHORS, and split lists into maintainers, ex-maintainers,
  committers, and contributors

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@702 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* flip conditionals around in setup_pipe so that it's readable
cpickett [Mon, 11 Feb 2013 22:59:48 +0000 (22:59 +0000)]
* flip conditionals around in setup_pipe so that it's readable
* call new open_tmp_file from setup_pipe instead of tmpfile, to
  make things work on WIN32, closing Bug 3314868

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@701 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* fix dead link on web index.html, closing bug 3592019
cpickett [Mon, 11 Feb 2013 21:15:49 +0000 (21:15 +0000)]
* fix dead link on web index.html, closing bug 3592019
* clean up spacing around a couple of other links

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@700 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* use AC_SUBST in configure.ac to replace @HAVE_STDINT_H@ in
cpickett [Sat, 9 Feb 2013 00:37:31 +0000 (00:37 +0000)]
* use AC_SUBST in configure.ac to replace @HAVE_STDINT_H@ in
  check.h.in, and define intmax_t and uintmax_t ourselves if it's not
  there, making check.h work with arbitrary clients again.  There is
  probably more of a fix needed for clients that just don't have
  64-bit ints.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@699 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* undo the last change
cpickett [Fri, 8 Feb 2013 21:24:23 +0000 (21:24 +0000)]
* undo the last change

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@698 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* take out use of HAVE_CONFIG_H and HAVE_STDINT_H from check.h.in
cpickett [Fri, 8 Feb 2013 21:20:36 +0000 (21:20 +0000)]
* take out use of HAVE_CONFIG_H and HAVE_STDINT_H from check.h.in

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@697 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* added note about Automake 1.11.3 on OS X
cpickett [Fri, 8 Feb 2013 20:47:20 +0000 (20:47 +0000)]
* added note about Automake 1.11.3 on OS X

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@696 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* Add equivalent uint variants for __ck_assert_int. Patch from bug #3600433
hugo303 [Fri, 8 Feb 2013 14:43:06 +0000 (14:43 +0000)]
* Add equivalent uint variants for __ck_assert_int. Patch from bug #3600433

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@695 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* Support 64bit int for __ck_assert_int. Patch from bug #3599471
hugo303 [Fri, 8 Feb 2013 14:23:01 +0000 (14:23 +0000)]
* Support 64bit int for __ck_assert_int. Patch from bug #3599471

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@694 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* Autoconf support for uint32_t. Patch from bug #3600421
hugo303 [Fri, 8 Feb 2013 14:10:51 +0000 (14:10 +0000)]
* Autoconf support for uint32_t. Patch from bug #3600421

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@693 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* Fix compatibility with automake older than 1.12
hugo303 [Fri, 8 Feb 2013 14:04:28 +0000 (14:04 +0000)]
* Fix compatibility with automake older than 1.12

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@692 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* fix up description of how ck_assert_msg behaves
cpickett [Wed, 6 Feb 2013 21:09:03 +0000 (21:09 +0000)]
* fix up description of how ck_assert_msg behaves

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@691 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* replace ck_assert with ck_assert_msg
cpickett [Wed, 6 Feb 2013 20:52:15 +0000 (20:52 +0000)]
* replace ck_assert with ck_assert_msg

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@690 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agoOnly add -lm if the floor function is in the math lib.
brarcher [Thu, 31 Jan 2013 23:40:47 +0000 (23:40 +0000)]
Only add -lm if the floor function is in the math lib.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@689 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agoAdd comment explaining snprintf checks
brarcher [Thu, 31 Jan 2013 23:40:29 +0000 (23:40 +0000)]
Add comment explaining snprintf checks

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@688 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agoAdd C99 compliant snprintf to libcompat
brarcher [Thu, 31 Jan 2013 22:49:40 +0000 (22:49 +0000)]
Add C99 compliant snprintf to libcompat

Many systems do not provide a C99 compliant snprintf implementation.
To guarantee that the snprintf used by parts of check is correct,
a version is added to libcompat. The system's snprintf is checked with
the configure script. If the system's snprintf is not up to snuff,
the libcompat version is used.

This version of snprintf is from Holger Weiß and Patrick Powell.
http://www.jhweiss.de/software/snprintf.html

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@687 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agoFix typo in header file
brarcher [Wed, 30 Jan 2013 05:08:49 +0000 (05:08 +0000)]
Fix typo in header file

Should read that ck_assert aborts the test if the condition is
false, not true.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@686 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agorenaming list API to start with check_
brarcher [Wed, 30 Jan 2013 05:04:11 +0000 (05:04 +0000)]
renaming list API to start with check_

Based on patch #3448601, this renames the internal list structure
API used by check to start with check_ to avoid name conflicts.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@685 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agoClean up compiler warnings
brarcher [Wed, 30 Jan 2013 05:03:38 +0000 (05:03 +0000)]
Clean up compiler warnings

Jerry James submitted a patch previously that fixed a few compiler
warnings which were recently fixed.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@684 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years ago* use AM_PROG_AR for systems without it
cpickett [Tue, 29 Jan 2013 05:28:13 +0000 (05:28 +0000)]
* use AM_PROG_AR for systems without it

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@683 64e312b2-a51f-0410-8e61-82d0ca0eb02a

11 years agoFix typo in documentation
brarcher [Tue, 29 Jan 2013 03:11:21 +0000 (03:11 +0000)]
Fix typo in documentation

The documentation says that a 'true' to ck_assert(_msg) will result
in a test failure. It should say 'false' instead.

Issue #3597793

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@682 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Use leading x to test $GCC for gcov enabling instead of POSIX '-n'.
hugo303 [Fri, 7 Dec 2012 17:03:36 +0000 (17:03 +0000)]
* Use leading x to test $GCC for gcov enabling instead of POSIX '-n'.
  Patch #3591517 on SF.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@681 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoAdding files that were missed in the previous commit
brarcher [Sun, 25 Nov 2012 15:24:58 +0000 (15:24 +0000)]
Adding files that were missed in the previous commit

The libcompat files for creating/modifying/deleting timers was missed
in the previous commit.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@680 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoAllow unit test timeouts to be specified using nanosecond precision
brarcher [Wed, 21 Nov 2012 04:01:43 +0000 (04:01 +0000)]
Allow unit test timeouts to be specified using nanosecond precision

Previously, test timeouts were limited to second precision. The reason
was the call used to determine test timeouts, alarm, only supported
second precision. With this change, three more functions from librt
are used set a timer to fire with nanosecond precision. For systems
without librt, an implementation of these functions is in libcompat
which fall back on using alarm.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@679 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoUpdating documentation to remove using fail* API in examples
brarcher [Sun, 18 Nov 2012 04:14:06 +0000 (04:14 +0000)]
Updating documentation to remove using fail* API in examples

The fail* API are deprecated, but were the primary API used in the
examples. This commit changes this, by using API that is recommended
for use with new projects. The fail* API are mentioned with the
remaining convenience API, but are introduced as being deprecated.

Additionally, updated what version and on what system the examples
were built against.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@678 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoUpdating examples to use alternatives to the fail* API
brarcher [Sun, 18 Nov 2012 04:13:48 +0000 (04:13 +0000)]
Updating examples to use alternatives to the fail* API

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@677 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoExamples in documentation now are diffs showing entire file as context
brarcher [Sun, 18 Nov 2012 04:13:25 +0000 (04:13 +0000)]
Examples in documentation now are diffs showing entire file as context

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@676 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Calculation of duration for test runs now use clock_gettime() instead of
hugo303 [Wed, 14 Nov 2012 09:13:46 +0000 (09:13 +0000)]
* Calculation of duration for test runs now use clock_gettime() instead of
  gettimeofday(). Definition of DIFF_IN_USEC() moved to check_impl.h.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@675 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Added note on 'make doc/check_html' when releasing manually
hugo303 [Tue, 13 Nov 2012 08:35:41 +0000 (08:35 +0000)]
* Added note on 'make doc/check_html' when releasing manually

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@674 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Fix numeric typo
hugo303 [Mon, 12 Nov 2012 12:45:34 +0000 (12:45 +0000)]
* Fix numeric typo

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@673 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoIf the test_check_ntests_run test fails, print the number of tests expected
brarcher [Sat, 10 Nov 2012 22:54:18 +0000 (22:54 +0000)]
If the test_check_ntests_run test fails, print the number of tests expected

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@672 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoMoving the creation of the suite, to remove a compiler warning
brarcher [Sat, 10 Nov 2012 22:54:03 +0000 (22:54 +0000)]
Moving the creation of the suite, to remove a compiler warning

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@671 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoRemove unneeded variable
brarcher [Sat, 10 Nov 2012 22:53:49 +0000 (22:53 +0000)]
Remove unneeded variable

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@670 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoIf there is a mismatch on the number of tests to run, fail quicker
brarcher [Sat, 10 Nov 2012 22:53:35 +0000 (22:53 +0000)]
If there is a mismatch on the number of tests to run, fail quicker

I have had to add several unit tests, and often times I would forget
to add an entry into either the master tests table or the line number
table. Of course, the tests would run, and several minutes later I
would find out. With this change, if there is a mismatch between the
table sizes, the test fails before starting.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@669 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoadd new ck_assert_ptr_(eq|ne) functions for pointer comparisons
brarcher [Thu, 8 Nov 2012 17:05:31 +0000 (17:05 +0000)]
add new ck_assert_ptr_(eq|ne) functions for pointer comparisons

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@668 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoreplace unnecessary mention of deprecated fail_unless in check.h with ck_assert
brarcher [Thu, 8 Nov 2012 04:51:59 +0000 (04:51 +0000)]
replace unnecessary mention of deprecated fail_unless in check.h with ck_assert

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@667 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agofree created srunner
brarcher [Tue, 6 Nov 2012 04:12:21 +0000 (04:12 +0000)]
free created srunner

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@666 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agono check for pointer!=NULL before dereferencing it
brarcher [Tue, 6 Nov 2012 04:11:49 +0000 (04:11 +0000)]
no check for pointer!=NULL before dereferencing it

punpack can return NULL. These unit tests were checking if elements
inside of the return value are NULL, but not if the pointer itself
is NULL.

Additionally, a NULL check is unnecessary for a free.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@665 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agofix memory leaks
brarcher [Tue, 6 Nov 2012 04:11:37 +0000 (04:11 +0000)]
fix memory leaks

This commit fixes several instances where elements are created
but never free'd.

Although these tests may be run in their own process space,
and at the completion of the tests the memory will be free'd,
it is still good practice to clean up.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@664 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoreplace strcpy with alternative
brarcher [Tue, 6 Nov 2012 04:11:16 +0000 (04:11 +0000)]
replace strcpy with alternative

Although in these contexts using strcpy is safe, usually it is unsafe.
Replacing strcpy with simpler and safer alternatives.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@663 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agofix memory leak
brarcher [Tue, 6 Nov 2012 04:11:04 +0000 (04:11 +0000)]
fix memory leak

tcase_run_checked_setup returns a TestResult* that is ignored here.
Catching it and freeing it.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@662 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoif fork fails, do not send invalid pid to setpgid
brarcher [Tue, 6 Nov 2012 04:10:54 +0000 (04:10 +0000)]
if fork fails, do not send invalid pid to setpgid

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@661 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agofix compiler warning: subunit header file not found
brarcher [Tue, 6 Nov 2012 04:10:44 +0000 (04:10 +0000)]
fix compiler warning: subunit header file not found

The code is using ENABLE_SUBUNIT to determine if subunit is available.
HAVE_SUBUNIT_CHILD_H is never defined. When subunit is used, its
header files are never found, causing a compiler warning. This commit
replaces the #if protecting the header to be consistent with the
rest of the code.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@660 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoFixing subunit checking condition in configure.ac
brarcher [Tue, 6 Nov 2012 04:10:35 +0000 (04:10 +0000)]
Fixing subunit checking condition in configure.ac

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@659 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoremoving variable that is written but never read
brarcher [Tue, 6 Nov 2012 04:10:23 +0000 (04:10 +0000)]
removing variable that is written but never read

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@658 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoremove tabs, replace with spaces
brarcher [Tue, 6 Nov 2012 04:10:09 +0000 (04:10 +0000)]
remove tabs, replace with spaces

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@657 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agofix printing configure warning message when tex not installed
brarcher [Sun, 4 Nov 2012 17:05:17 +0000 (17:05 +0000)]
fix printing configure warning message when tex not installed

The value of $TEX is either 'tex' or 'false'. It is not empty if
tex is unavailable. The previous condition checked if $TEX was
a non-empty string (-n), and if so would print out a warning.
This was always the case, so a warning message would always print.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@656 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoupdate NEWS with information on recent checkins
brarcher [Sun, 4 Nov 2012 03:28:44 +0000 (03:28 +0000)]
update NEWS with information on recent checkins

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@655 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoreplace usage of fail_if(expr, msg) with ck_assert_msg(!expr, msg)
brarcher [Sun, 4 Nov 2012 03:27:43 +0000 (03:27 +0000)]
replace usage of fail_if(expr, msg) with ck_assert_msg(!expr, msg)

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@654 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoreplace usage of fail_unless() with ck_assert_msg()
brarcher [Sun, 4 Nov 2012 03:27:03 +0000 (03:27 +0000)]
replace usage of fail_unless() with ck_assert_msg()

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@653 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoreplace usage of fail() with ck_abort_msg()
brarcher [Sun, 4 Nov 2012 03:25:57 +0000 (03:25 +0000)]
replace usage of fail() with ck_abort_msg()

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@652 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoupdate check.h.in with new check API, and remove reference to deprecated API
brarcher [Sun, 4 Nov 2012 03:25:11 +0000 (03:25 +0000)]
update check.h.in with new check API, and remove reference to deprecated API

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@651 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agosilence warning regarding ignoring pipe's return value
brarcher [Sun, 4 Nov 2012 03:24:27 +0000 (03:24 +0000)]
silence warning regarding ignoring pipe's return value

Check's unit tests were calling pipe but ignore its return value.
This results in a compiler warning. The offending unit tests now
check the return value and call ck_assert_msg with it.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@650 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agosilence warnings when assigning constant string to char*
brarcher [Sun, 4 Nov 2012 03:23:41 +0000 (03:23 +0000)]
silence warnings when assigning constant string to char*

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@649 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoAdding prototype for ppack_cleanup
brarcher [Sun, 4 Nov 2012 03:23:06 +0000 (03:23 +0000)]
Adding prototype for ppack_cleanup

There was no prototype, which would cause a compile warning

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@648 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agofix printf warnings
brarcher [Sun, 4 Nov 2012 03:22:26 +0000 (03:22 +0000)]
fix printf warnings

fprintf was being passed arguments for items it was not printing

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@647 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agofix printf format warning
brarcher [Sun, 4 Nov 2012 03:21:36 +0000 (03:21 +0000)]
fix printf format warning

timeval contains long unsigned values, but fprintf was being told they
were signed integers.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@646 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agofix warning for unused variables
brarcher [Sun, 4 Nov 2012 03:20:36 +0000 (03:20 +0000)]
fix warning for unused variables

This fixes a number of cases where a variable is written to but
never read. Nothing functional has changed, simply silencing some
warnings.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@645 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoAdd override for clock_gettime() in libcompat for systems that do not supply it
brarcher [Sun, 4 Nov 2012 03:18:59 +0000 (03:18 +0000)]
Add override for clock_gettime() in libcompat for systems that do not supply it

clock_gettime() is defined in POSIX.1-2001. However, some systems
(notably OSX) do not provide it. To allow such system to compile check,
clock_gettime() is added to libcompat. In the libcompat version, equivalent
calls for OSX are added to get time. For other systems, clock_gettime()
simply sets the time to 0.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@644 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoChange definition of unsetenv to follow POSIX.1-2001
brarcher [Sun, 4 Nov 2012 03:13:44 +0000 (03:13 +0000)]
Change definition of unsetenv to follow POSIX.1-2001

Prior to glibc 2.2.2, unsetenv() was prototyped as returning void, as was
this version. However, check's unit tests expect unsetenv to return
an integer. On systems where the override version of unsetenv is used,
check would not compile.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@643 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoRemove stray ; from putenv
brarcher [Sun, 4 Nov 2012 03:08:37 +0000 (03:08 +0000)]
Remove stray ; from putenv

There was a stray ; in putenv's defintion. On systems with no putenv,
lib/putenv.c will be used instead, which fails to compile.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@642 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoAdding myself to the AUTHORS file
brarcher [Sun, 4 Nov 2012 03:03:37 +0000 (03:03 +0000)]
Adding myself to the AUTHORS file

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@641 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoUpdated release instructions
hugo303 [Mon, 22 Oct 2012 15:50:50 +0000 (15:50 +0000)]
Updated release instructions

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@640 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Update for release
hugo303 [Mon, 22 Oct 2012 12:35:00 +0000 (12:35 +0000)]
* Update for release

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@638 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Updated versions for 0.9.9 relese
hugo303 [Mon, 22 Oct 2012 11:54:14 +0000 (11:54 +0000)]
* Updated versions for 0.9.9 relese

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@637 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Distribute test_check_nofork.sh also
hugo303 [Mon, 22 Oct 2012 11:39:13 +0000 (11:39 +0000)]
* Distribute test_check_nofork.sh also

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@636 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Measure test duration and print in XML output
hugo303 [Fri, 19 Oct 2012 09:40:57 +0000 (09:40 +0000)]
* Measure test duration and print in XML output

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@635 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Updated XML output format
hugo303 [Fri, 19 Oct 2012 09:26:16 +0000 (09:26 +0000)]
* Updated XML output format

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@634 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Transforms check XML to format suitable for JUnit
hugo303 [Fri, 19 Oct 2012 08:39:39 +0000 (08:39 +0000)]
* Transforms check XML to format suitable for JUnit

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@633 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoAdded support for setting log files via environment variables
hugo303 [Mon, 15 Oct 2012 16:45:20 +0000 (16:45 +0000)]
Added support for setting log files via environment variables

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@632 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Added better pkg-config and subunit support
hugo303 [Fri, 12 Oct 2012 13:32:55 +0000 (13:32 +0000)]
* Added better pkg-config and subunit support

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@631 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Make tests/test_vars.in bourne shell compatible
hugo303 [Thu, 11 Oct 2012 14:36:59 +0000 (14:36 +0000)]
* Make tests/test_vars.in bourne shell compatible

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@630 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Added ck_ prefix to mutex_lock variable
hugo303 [Thu, 11 Oct 2012 14:06:13 +0000 (14:06 +0000)]
* Added ck_ prefix to mutex_lock variable

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@629 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years agoUpdated with more patch submitters
hugo303 [Thu, 11 Oct 2012 13:08:45 +0000 (13:08 +0000)]
Updated with more patch submitters

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@628 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* In autoconf, request system extensions to generate 64-bit safe code
hugo303 [Thu, 11 Oct 2012 12:20:49 +0000 (12:20 +0000)]
* In autoconf, request system extensions to generate 64-bit safe code

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@627 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Fix for mutex deadlock when killing threads, patch #3564640 on SF
hugo303 [Thu, 11 Oct 2012 11:55:13 +0000 (11:55 +0000)]
* Fix for mutex deadlock when killing threads, patch #3564640 on SF

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@626 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Make XML output well-formed
hugo303 [Thu, 11 Oct 2012 09:12:18 +0000 (09:12 +0000)]
* Make XML output well-formed

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@625 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Updated fixed item
hugo303 [Thu, 11 Oct 2012 09:10:21 +0000 (09:10 +0000)]
* Updated fixed item

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@624 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Fix buggy duration calculation, bug #3575451 on SF
hugo303 [Thu, 11 Oct 2012 09:07:36 +0000 (09:07 +0000)]
* Fix buggy duration calculation, bug #3575451 on SF

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@623 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Measure test duration correctly. Fixes SF bug #3575451.
hugo303 [Thu, 11 Oct 2012 08:53:08 +0000 (08:53 +0000)]
* Measure test duration correctly. Fixes SF bug #3575451.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@622 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* Add Mateusz Loskot as an author along with his MSVC / CMake patch.
cpickett [Thu, 14 Jun 2012 02:47:08 +0000 (02:47 +0000)]
* Add Mateusz Loskot as an author along with his MSVC / CMake patch.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@621 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* add contrib/improved_make_check
cpickett [Thu, 14 Jun 2012 01:44:39 +0000 (01:44 +0000)]
* add contrib/improved_make_check

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@620 64e312b2-a51f-0410-8e61-82d0ca0eb02a

12 years ago* clean up formatting of AUTHORS file
cpickett [Thu, 14 Jun 2012 01:34:00 +0000 (01:34 +0000)]
* clean up formatting of AUTHORS file

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@619 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years agoMore clean-up in AUTHORS.
mloskot [Tue, 3 Jan 2012 22:42:52 +0000 (22:42 +0000)]
More clean-up in AUTHORS.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@618 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years agoTidy up AUTHORS. More git svn workflow tests
mloskot [Tue, 3 Jan 2012 22:27:59 +0000 (22:27 +0000)]
Tidy up AUTHORS. More git svn workflow tests

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@617 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years agoAUTHORS formatting. Testing git svn workflow
mloskot [Tue, 3 Jan 2012 21:36:03 +0000 (21:36 +0000)]
AUTHORS formatting. Testing git svn workflow

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@616 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years agoTypos. My first test commit.
mloskot [Mon, 2 Jan 2012 23:59:24 +0000 (23:59 +0000)]
Typos. My first test commit.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@615 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years ago* Added a chapter for selective running of tests.
hugo303 [Fri, 2 Dec 2011 21:18:28 +0000 (21:18 +0000)]
* Added a chapter for selective running of tests.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@614 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years ago* Added a chapter for selective running of tests.
hugo303 [Fri, 2 Dec 2011 21:16:56 +0000 (21:16 +0000)]
* Added a chapter for selective running of tests.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@613 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years ago* Added comment on message pipe fix.
hugo303 [Tue, 15 Nov 2011 16:07:30 +0000 (16:07 +0000)]
* Added comment on message pipe fix.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@612 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years ago* Added todo docs for selective running.
hugo303 [Tue, 15 Nov 2011 16:06:13 +0000 (16:06 +0000)]
* Added todo docs for selective running.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@611 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years ago* Fixes problem with very large allocations.
hugo303 [Tue, 15 Nov 2011 02:28:06 +0000 (02:28 +0000)]
* Fixes problem with very large allocations.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@610 64e312b2-a51f-0410-8e61-82d0ca0eb02a

13 years ago* Fixed null pointer dereference if test failed.
hugo303 [Tue, 15 Nov 2011 02:24:21 +0000 (02:24 +0000)]
* Fixed null pointer dereference if test failed.

git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@609 64e312b2-a51f-0410-8e61-82d0ca0eb02a