]>
granicus.if.org Git - check/log
Branden Archer [Wed, 3 May 2017 22:29:20 +0000 (18:29 -0400)]
Merge pull request #118 from RyDroid/cmake-gitignore
Adding "rules" to .gitignore related to CMake
Branden Archer [Wed, 3 May 2017 16:04:14 +0000 (12:04 -0400)]
Merge branch 'master' into cmake-gitignore
Branden Archer [Wed, 3 May 2017 16:02:18 +0000 (12:02 -0400)]
Merge pull request #119 from RyDroid/rm-useless-else
Removing some useless else
Branden Archer [Wed, 3 May 2017 02:05:11 +0000 (22:05 -0400)]
Merge branch 'master' into rm-useless-else
Branden Archer [Wed, 3 May 2017 01:58:53 +0000 (21:58 -0400)]
Merge pull request #121 from viktornonov/master
Fix the Money build example using CMake
Viktor Nonov [Mon, 24 Apr 2017 00:14:48 +0000 (17:14 -0700)]
Link the library directory so tests can be compiled on OSX
Nicola Spanti (RyDroid) [Mon, 6 Mar 2017 22:12:59 +0000 (23:12 +0100)]
Removing some useless else
Nicola Spanti (RyDroid) [Sat, 4 Mar 2017 12:01:36 +0000 (13:01 +0100)]
Adding "rules" to .gitignore related to CMake
Branden Archer [Sat, 18 Feb 2017 22:12:33 +0000 (17:12 -0500)]
Merge pull request #114 from zhuhaow/master
Add support to disable building test for check
zhuhaow [Fri, 17 Feb 2017 02:55:27 +0000 (10:55 +0800)]
Fix typo
zhuhaow [Fri, 17 Feb 2017 02:55:00 +0000 (10:55 +0800)]
Revert test option to affirmative form
zhuhaow [Thu, 16 Feb 2017 15:25:01 +0000 (23:25 +0800)]
Add support to disable building test for check
Branden Archer [Sat, 28 Jan 2017 03:09:47 +0000 (22:09 -0500)]
Merge pull request #111 from njh/invalid-suffix-on-literal
Fix for "invalid suffix on literal" error in clang
Nicholas Humfrey [Sun, 15 Jan 2017 23:19:03 +0000 (23:19 +0000)]
Fix for "invalid suffix on literal" error in clang
Invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
Branden Archer [Sat, 24 Dec 2016 04:16:03 +0000 (23:16 -0500)]
Merge pull request #94 from 9fcc/fix_cmake_libcompat_h
Fix missing libcompat.h error while doing make install command
Branden Archer [Sat, 24 Dec 2016 02:51:34 +0000 (21:51 -0500)]
Merge branch 'master' into fix_cmake_libcompat_h
Branden Archer [Sat, 24 Dec 2016 02:51:07 +0000 (21:51 -0500)]
Merge pull request #91 from 9fcc/tests_regexp
Add regular expressions support for internal tests checking
Branden Archer [Fri, 23 Dec 2016 17:43:23 +0000 (12:43 -0500)]
Merge branch 'master' into tests_regexp
Branden Archer [Fri, 23 Dec 2016 17:41:36 +0000 (12:41 -0500)]
Merge branch 'master' into fix_cmake_libcompat_h
Branden Archer [Fri, 23 Dec 2016 17:40:51 +0000 (12:40 -0500)]
Merge pull request #103 from libcheck/cygwin
Enable all unit test programs for Cygwin
Branden Archer [Fri, 23 Dec 2016 04:02:40 +0000 (23:02 -0500)]
Enable all unit tests for Cygwin
Branden Archer [Fri, 23 Dec 2016 04:01:21 +0000 (23:01 -0500)]
Disable SIGFPE tests for Cygwin until fixed
The test_fpe and test_mark_point tests currently fail on Cygwin.
Instead of the test process receiving a SIGFPE it instead fails
with a SIGSEGV. The reason is not yet know. However, attempting a
simple program that installs a SIGFPE handler then does a
raise(SIGFPE) does result in the handler being called.
This tests need to be enabled again once the reason for the failures
is resolved.
https://github.com/libcheck/check/issues/97
Branden Archer [Fri, 23 Dec 2016 02:19:05 +0000 (21:19 -0500)]
Remove out dated comment
Branden Archer [Fri, 23 Dec 2016 02:04:13 +0000 (21:04 -0500)]
Merge pull request #102 from libcheck/fix-printf-format
Remove usage of "lg" in printf format
Branden Archer [Thu, 22 Dec 2016 14:25:01 +0000 (09:25 -0500)]
Enable non-shell based tests on MinGW
Branden Archer [Thu, 22 Dec 2016 19:13:18 +0000 (14:13 -0500)]
Remove usage of "lg" in printf format
MinGW on Windows does not "lg". The reason is that MinGW mixes
GCC and the MSVC runtime. For GCC a long double is either
96-bit or 128-bit type for long double on x86 or x64 targets
(see http://gcc.gnu.org/onlinedocs/gcc/i386-and-x86_002d64-Options.html).
However, MSVC uses a 64-bit type
(see http://msdn.microsoft.com/en-us/library/9cx8xs15.aspx).
That means for MSVC "double" and "long double" are the same.
Because of this mismatch, the "l" in "lg", which is safely ignored
on Linux and BSD systems is not safely ignored in MSVC systems
where GCC is used to compile. This issue does not arise when using
VS compiler on Windows.
Dotsenko Andrey [Thu, 15 Dec 2016 18:59:25 +0000 (21:59 +0300)]
Fix outdated information in AUTHORS
Dotsenko Andrey [Thu, 15 Dec 2016 18:47:57 +0000 (21:47 +0300)]
Add tests for ck_assert_float_nonnan, ck_assert_double_nonnan and ck_assert_ldouble_nonnan macros
Dotsenko Andrey [Thu, 15 Dec 2016 04:41:39 +0000 (07:41 +0300)]
Add regular expressions to internal tests
Branden Archer [Tue, 20 Dec 2016 20:15:22 +0000 (15:15 -0500)]
Merge pull request #81 from brarcher/tmp-dir-selection
Change how a tmp dir is found
Branden Archer [Sun, 18 Dec 2016 16:47:46 +0000 (11:47 -0500)]
Change how a tmp dir is found
It was found that on Windows the TMPDIR environment variable was
honored, but for Linux/et al it was not. This resulted in files ending
up in the build directory (the present directory when the tests
were run). As the test may not have permission to write in the build
directory, attempt to honor the P_tmpdir macro or TMPDIR environment
variable.
Branden Archer [Mon, 19 Dec 2016 21:03:11 +0000 (16:03 -0500)]
Merge pull request #96 from libcheck/cygwin
Enable Cygwin and MinGW builds on AppVeyor
Branden Archer [Mon, 19 Dec 2016 15:36:31 +0000 (10:36 -0500)]
Compile using MinGW and MinGW64 in AppVeyor
Branden Archer [Mon, 19 Dec 2016 01:42:26 +0000 (20:42 -0500)]
Enable cygwin builds on AppVeyor
Branden Archer [Sun, 18 Dec 2016 22:05:49 +0000 (17:05 -0500)]
Merge pull request #95 from libcheck/ctest-for-travis
Always emit unit test output for CMake on Travis-CI
Branden Archer [Sun, 18 Dec 2016 17:04:36 +0000 (12:04 -0500)]
Always emit unit test output for CMake on Travis-CI
Internally "make test" invokes ctest, and passing the -V flag will print the stdout from the unit tests.
Branden Archer [Sun, 18 Dec 2016 16:50:25 +0000 (11:50 -0500)]
Merge pull request #93 from libcheck/news-update
News update
Dotsenko Andrey [Sun, 18 Dec 2016 08:19:49 +0000 (11:19 +0300)]
Fix missing libcompat.h error while doing make install command
Related to issue #86.
Branden Archer [Sat, 17 Dec 2016 23:49:41 +0000 (18:49 -0500)]
Change rebase->merge when updating website
Branden Archer [Sat, 17 Dec 2016 23:49:00 +0000 (18:49 -0500)]
Restore development header in NEWS
Branden Archer [Sat, 17 Dec 2016 23:35:40 +0000 (18:35 -0500)]
Merge pull request #92 from libcheck/pre-release-0.11.0
Update for release 0.11.0
Branden Archer [Sat, 17 Dec 2016 20:00:18 +0000 (15:00 -0500)]
Update for release 0.11.0
Branden Archer [Thu, 15 Dec 2016 17:57:40 +0000 (12:57 -0500)]
Merge pull request #90 from libcheck/news-update
Mention new pointer macros in NEWS
Branden Archer [Thu, 15 Dec 2016 01:33:26 +0000 (20:33 -0500)]
Mention new pointer macros in NEWS
Branden Archer [Thu, 15 Dec 2016 01:29:35 +0000 (20:29 -0500)]
Merge pull request #89 from RyDroid/vera-fix
Fixing "errors" reported by vera++
Nicola Spanti (RyDroid) [Thu, 13 Oct 2016 10:15:18 +0000 (12:15 +0200)]
Fixing "errors" reported by vera++
Branden Archer [Wed, 14 Dec 2016 04:06:59 +0000 (23:06 -0500)]
Merge pull request #82 from libcheck/doc-update
Change wording in docs around NULL and macros
Branden Archer [Sun, 11 Dec 2016 23:18:47 +0000 (18:18 -0500)]
Change wording in docs around NULL and macros
Branden Archer [Wed, 14 Dec 2016 01:21:50 +0000 (20:21 -0500)]
Merge pull request #87 from 9fcc/ptr_null
Add pointer against NULL comparison macros
Dotsenko Andrey [Tue, 13 Dec 2016 04:44:36 +0000 (07:44 +0300)]
Add documentation for ck_assert_ptr_null and ck_assert_ptr_nonnull macros
Dotsenko Andrey [Mon, 12 Dec 2016 19:15:22 +0000 (22:15 +0300)]
Add tests for ck_assert_ptr_null and ck_assert_ptr_nonnull macros
Dotsenko Andrey [Mon, 12 Dec 2016 19:04:11 +0000 (22:04 +0300)]
Add ck_assert_ptr_null and ck_assert_ptr_nonnull macros to compare against NULL
Branden Archer [Tue, 13 Dec 2016 13:30:21 +0000 (08:30 -0500)]
Merge pull request #85 from libcheck/news-update
Add missing items to NEWS
Branden Archer [Tue, 13 Dec 2016 02:52:08 +0000 (21:52 -0500)]
Merge branch 'master' into news-update
Branden Archer [Tue, 13 Dec 2016 02:51:36 +0000 (21:51 -0500)]
Merge pull request #84 from libcheck/since-0.10.1-fix
Update @since tags that say 0.10.1
Branden Archer [Tue, 13 Dec 2016 01:54:44 +0000 (20:54 -0500)]
Add missing items to NEWS
Branden Archer [Tue, 13 Dec 2016 01:32:31 +0000 (20:32 -0500)]
Update @since tags that say 0.10.1
There is no 0.10.1 release planned, and instead the next release will be 0.11.0
Branden Archer [Tue, 13 Dec 2016 01:27:47 +0000 (20:27 -0500)]
Merge pull request #80 from 9fcc/pstr_comparisons
Add ck_assert_pstr_* macros with ability to compare undefined (NULL) strings
Dotsenko Andrey [Sat, 10 Dec 2016 19:32:58 +0000 (22:32 +0300)]
Add documentation for ck_assert_pstr_* macros
Dotsenko Andrey [Sat, 10 Dec 2016 19:31:38 +0000 (22:31 +0300)]
Add tests for ck_assert_pstr_* macros
Dotsenko Andrey [Sat, 10 Dec 2016 19:11:14 +0000 (22:11 +0300)]
Add ck_assert_pstr_* macros with ability to compare undefined (NULL) strings
Branden Archer [Sun, 11 Dec 2016 23:17:22 +0000 (18:17 -0500)]
Merge pull request #79 from 9fcc/str_null
ck_assert_str_*: fix segmentation fault while comparing to NULL
Dotsenko Andrey [Sat, 3 Dec 2016 19:04:34 +0000 (22:04 +0300)]
Add restrictions about NULL passed to ck_assert_str_* macros
Dotsenko Andrey [Sat, 3 Dec 2016 17:21:06 +0000 (20:21 +0300)]
Add tests for ck_assert_str_* with NULL passed
Dotsenko Andrey [Sat, 3 Dec 2016 17:20:53 +0000 (20:20 +0300)]
ck_assert_str_*: fix segmentation fault while comparing with NULL
Branden Archer [Sat, 10 Dec 2016 04:00:52 +0000 (23:00 -0500)]
Merge pull request #69 from 9fcc/master
Add comparison macros for floating point numbers (ck_assert_floating_*)
Branden Archer [Fri, 9 Dec 2016 20:10:21 +0000 (15:10 -0500)]
Merge branch 'master' into master
Branden Archer [Fri, 9 Dec 2016 19:56:10 +0000 (14:56 -0500)]
Merge pull request #71 from 9fcc/ctest_debug
Allow tests to be checked with Valgrind via ctest
Dotsenko Andrey [Mon, 21 Nov 2016 05:01:22 +0000 (08:01 +0300)]
Update AUTHORS
Dotsenko Andrey [Mon, 21 Nov 2016 05:00:44 +0000 (08:00 +0300)]
Change style of AUTHORS
Each author with his personal info must be on one line (his name, email, etc) and his contribution must be on the next line.
Dotsenko Andrey [Tue, 8 Nov 2016 20:59:31 +0000 (23:59 +0300)]
Add documentation for comparison of floating point numbers (ck_assert_floating_*)
Dotsenko Andrey [Tue, 8 Nov 2016 20:59:09 +0000 (23:59 +0300)]
Add unit tests for comparison macros for floating point numbers (ck_assert_floating_*)
Dotsenko Andrey [Tue, 8 Nov 2016 20:58:18 +0000 (23:58 +0300)]
Add comparison macros for floating point numbers (ck_assert_floating_*)
Branden Archer [Tue, 8 Nov 2016 01:51:52 +0000 (20:51 -0500)]
Merge branch 'master' into ctest_debug
Branden Archer [Tue, 8 Nov 2016 00:16:28 +0000 (19:16 -0500)]
Merge pull request #73 from brarcher/vs-ctest
Use ctest on VC builds to run unit tests
Dotsenko Andrey [Sun, 6 Nov 2016 07:47:03 +0000 (10:47 +0300)]
Allow tests to be checked with Valgrind via ctest
If some tests have segmentation faults those could be located with "ctest -D ExperimentalMemCheck".
Branden Archer [Mon, 7 Nov 2016 01:32:26 +0000 (20:32 -0500)]
Use ctest on VC builds to run unit tests
msbuild was running the unit tests, but if a failure was hit
the output of the unit tests was not printed. As a result,
there was no indication as to what actually failed in a given
unit test program. Using ctest (part of CMake) should
output the unit test program's output for better failure
diagnosis.
Branden Archer [Sun, 6 Nov 2016 18:59:56 +0000 (13:59 -0500)]
Merge pull request #70 from brarcher/debugging-check-tests
Debugging check tests
Branden Archer [Sat, 5 Nov 2016 04:27:58 +0000 (00:27 -0400)]
Better error reporting for check_check_sub failures
If a unit test covered in check_check_sub fails report
the specific test case and test name, as to better identify
which test is failing and under what environment.
Branden Archer [Sun, 6 Nov 2016 14:01:40 +0000 (09:01 -0500)]
List test names in the master_tests table
Sometimes it is tricky to track down a unit test failure
as it is difficult to see which test actually failed.
To help make this easier all unit tests in the master_tests
table will now have the test name recorded. This will be
verified at unit test time as well, to ensure the test name
is accurate.
Branden Archer [Sat, 5 Nov 2016 04:14:52 +0000 (00:14 -0400)]
Add call for retrieving test name
This will be used internally to determine the current running test
and recording it during the check_check_sub tests in order to make
unit test failure debugging easier. The call may also be useful
for users of Check.
Branden Archer [Sun, 6 Nov 2016 15:33:18 +0000 (10:33 -0500)]
Merge pull request #68 from prusnak/patch-1
Update AUTHORS
Pavol Rusnak [Sat, 5 Nov 2016 11:11:18 +0000 (12:11 +0100)]
Update AUTHORS
Branden Archer [Sat, 5 Nov 2016 04:28:29 +0000 (00:28 -0400)]
Merge pull request #67 from libcheck/travis-ci-osx-cmake-exclude
Skip OSX/CMake test combo until failures fixed
Branden Archer [Sat, 5 Nov 2016 01:38:24 +0000 (21:38 -0400)]
Merge branch 'master' into travis-ci-osx-cmake-exclude
Branden Archer [Sat, 5 Nov 2016 01:38:09 +0000 (21:38 -0400)]
Merge pull request #65 from centricular/hurd-clock-gettime
clock_gettime.c: Use __APPLE__ instead of __MACH__
Branden Archer [Sat, 5 Nov 2016 00:41:17 +0000 (20:41 -0400)]
Skip OSX/CMake test combo until failures fixed
There have been sporadic unit test failures with timeout tests on OSX using CMake.
Until these are resolved, skipping these tests.
Nirbheek Chauhan [Fri, 4 Nov 2016 02:32:16 +0000 (08:02 +0530)]
Merge branch 'master' into hurd-clock-gettime
Branden Archer [Thu, 3 Nov 2016 15:24:53 +0000 (11:24 -0400)]
Merge pull request #64 from prusnak/ck_assert_mem
Add memory location comparison macros (ck_assert_mem_*)
Nirbheek Chauhan [Wed, 2 Nov 2016 08:37:20 +0000 (14:07 +0530)]
clock_gettime.c: Use __APPLE__ instead of __MACH__
Hurd also defines __MACH__, but it does not have mach_absolute_time. Use
the more strict __APPLE__ instead.
Pavol Rusnak [Tue, 1 Nov 2016 12:07:00 +0000 (13:07 +0100)]
Add documentation for memory location comparison macros
Pavol Rusnak [Wed, 26 Oct 2016 13:23:14 +0000 (15:23 +0200)]
Add unit tests for memory location comparison macros (ck_assert_mem_*)
Pavol Rusnak [Wed, 19 Oct 2016 18:54:32 +0000 (20:54 +0200)]
Add memory location comparison macros (ck_assert_mem_*)
Branden Archer [Tue, 12 Jul 2016 15:45:51 +0000 (11:45 -0400)]
Merge pull request #44 from cdentyou/tcase_tags
RFC: Support arbitrary tagging and selection of testcases.
Crispin Dent-Young [Wed, 29 Jun 2016 08:49:38 +0000 (09:49 +0100)]
Support arbitrary tagging and selection of testcases.
A testcase can optionally have a list of tags associated with it.
Srunner can be run with an optional include list of tags and an optional
exclude list of tags. These will have the effect of filtering testcases
that would otherwise be run.
Crispin Dent-Young [Thu, 23 Jun 2016 16:04:15 +0000 (17:04 +0100)]
Reduce Timeout Double Scaling Tests scale to avoid UT failures
The test "test_sleep2_fail" is occasionally passing (failing to fail)
in the jenkins UT - perhaps 1.6 seconds doesn't give enough leeway ?
Making it 1.5 seconds so its in exactly in the middle of sleep1_pass
and sleep2_fail.
Branden Archer [Thu, 7 Jul 2016 00:34:09 +0000 (20:34 -0400)]
Merge pull request #55 from RyDroid/gitignore-adds
Very minor additions to .gitignore
Branden Archer [Thu, 7 Jul 2016 00:29:44 +0000 (20:29 -0400)]
Merge pull request #57 from RyDroid/travis-license
Adding the license header to the file for Travis CI
Nicola Spanti (RyDroid) [Mon, 4 Jul 2016 21:00:30 +0000 (18:00 -0300)]
Adding the license header to the file for Travis CI
Nicola Spanti (RyDroid) [Fri, 1 Jul 2016 22:10:03 +0000 (19:10 -0300)]
Very minor additions to .gitignore