Commit graph

1215 commits

Author SHA1 Message Date
Snaipe
dfdea07325 cmake: Made the visibility be hidden by default 2016-09-03 15:12:28 +02:00
Snaipe
14f7f60ce7 memcheck: Fixed client & runner leaks 2016-09-03 15:12:28 +02:00
Snaipe
a1d690ffdb sample: Changed parameterized test samples to not use strings 2016-09-03 15:12:28 +02:00
Snaipe
e0a38e1ab9 runner: Do not serialize null function pointers 2016-09-03 15:12:28 +02:00
Snaipe
22ea04f778 runner: Fixed test context not being properly serialized 2016-09-03 15:12:28 +02:00
Snaipe
fea6577c87 boxfort: Updated submodule for addaddr fix 2016-09-03 15:12:28 +02:00
Snaipe
4ca8d3dcfb boxfort: Updated dependency for bxf_context_{add,get}fnaddr 2016-09-03 15:12:28 +02:00
Snaipe
af835c763c cmake: make subprojects inherit the processor type 2016-09-03 15:12:28 +02:00
Snaipe
2d80fb97cb boxfort: Updated to latest for windows arena EINVAL fix 2016-09-03 15:12:28 +02:00
Snaipe
c081c31228 cram: Fixed invalid line test for parameterized.cc 2016-09-03 15:12:28 +02:00
Snaipe
571f489cab i18n: removed unused no-early-exit valgrind translations 2016-09-03 15:12:28 +02:00
Snaipe
5388e779d3 boxfort: Updated for eglib bug fix 2016-09-03 15:12:28 +02:00
Snaipe
dc5248d49c boxfort: Initial integration 2016-09-03 15:12:28 +02:00
Snaipe
955e982f37 boxfort: Added boxfort dependency 2016-09-03 15:08:51 +02:00
Snaipe
1d6f0c6822 nanomsg: Remove patch dependency and use upstream project 2016-09-03 15:08:51 +02:00
Snaipe
eb70ea8ae1 appveyor: cleanup configuration 2016-09-03 15:02:33 +02:00
Snaipe
f67128f10e appveyor: Disable Release builds as RelWithDebInfo is equivalent optimization-wise 2016-09-03 14:53:15 +02:00
Snaipe
0690da5ec6 jobs,windows: Temporarily disable multiple jobs as a workaround for #118 2016-09-03 14:48:01 +02:00
Snaipe
3dfc32c486 travis: Use travis_retry for install operations 2016-09-01 12:12:19 +02:00
László Várady
913f0e5d6a doc: fix "Example main" code snippet
Signed-off-by: László Várady <laszlo.varady@balabit.com>
2016-08-31 17:01:20 +02:00
Snaipe
525f2e0ce0 api: Fixed APIs exports. Fixes #145. 2016-08-31 16:56:47 +02:00
Snaipe
805005a5e8 kill: Fixed kill not being available on some builds 2016-08-26 13:54:17 +02:00
Snaipe
595b4601a7 mockfile: Test for features rather than platform 2016-08-26 13:25:05 +02:00
Snaipe
4f5b85d08c compat: Fixed header inclusion for musl compatibility 2016-08-26 09:50:20 +02:00
a1lu
5ff8ef9a5c improve #139: added --crash for cr_expect (#144) 2016-08-23 13:48:53 +02:00
a1lu
25d444b1b9 cli: Added --crash cli option (#126) (#139)
If a assert fails and --crash is given, the debugger will trapped in
this assert using debugbreak.h from the new debugbreak submodule.
2016-08-22 10:17:55 +02:00
Snaipe
15b221ac09 cmake: Add -fvisibility=hidden by default. Fixes #141 2016-08-10 10:50:29 +02:00
Snaipe
2fe3349e4a cmake: Fixed the SONAME not matching the real SO version 2016-08-10 10:39:13 +02:00
László Várady
0c715b46c6 pkgconfig: fix the installation path of criterion.pc (#140)
If ${CMAKE_INSTALL_PREFIX} is mentioned explicitly in the install() command,
the generated cmake_install.cmake file will contain a hard-coded value.

This can cause installation errors during debian package generation, since
the 'cmake -DCMAKE_INSTALL_PREFIX=../debian/tmp/usr -P cmake_install.cmake'
command is used in debian/rules (this command overrides CMAKE_INSTALL_PREFIX).

Signed-off-by: László Várady <laszlo.varady@balabit.com>
2016-08-09 17:31:19 +02:00
Snaipe
9fbd28bf69 core: .exit_code = 0 now enforces the test exit status to be 0.
Before this change, an exit_code of 0 would allow a test to pass for any
exit status, because checking for 0 meant that the value was optional
and people did not care.

However, the semantics of exit() tells that 0 shall be synonymous of
success, and allowing a nonzero status to pass the test is unexpected.

This fixes issue #137.
2016-07-28 18:11:45 +02:00
Snaipe
1f6d05adca readme: Added link to the mailing list 2016-07-28 17:34:08 +02:00
Snaipe
da60498f38 i18n: removed unnecessary N_ on non-nls string 2016-07-24 17:12:21 +02:00
Snaipe
856a5f80c0 core: Fixed segfaults with reset_proc_compat in single mode 2016-07-24 15:00:18 +02:00
Snaipe
1e32935ff6 travis: Parallelized tests 2016-07-24 14:56:09 +02:00
Snaipe
f86714cbb1 protocol: Added missing criterion.options 2016-07-24 13:55:36 +02:00
Snaipe
f0fe1f8bac travis: Removed llvm & clang installation through brew 2016-07-24 00:56:33 +02:00
Snaipe
fcb6d58f93 travis: Fixed pip misbehaving with --user on OS X builds and upgraded cram to 0.7 2016-07-24 00:16:05 +02:00
Snaipe
df4b32de9e po: Updated line numbers 2016-07-24 00:02:56 +02:00
Snaipe
bd42dab406 cmake: Removed pcre dependency from debian package 2016-07-24 00:02:38 +02:00
Snaipe
9ea35ee4d4 travis: Removed pcre installation on OS X builds 2016-07-23 23:57:05 +02:00
a1lu
4d6d741357 extended glob matcher with brzozowski derivative (#111) 2016-07-23 22:32:57 +02:00
Franklin Mathieu
0c9c76599d Merge pull request #130 from kevinoid/freebsd-support
Compilation and test fixes for FreeBSD
2016-07-01 22:02:42 +02:00
Kevin Locke
98b63bd041 Allow nullptr or __null in asserts.t
Libc in FreeBSD 10.3 defines NULL to nullptr rather than __null.  Allow
this in the test output.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-06-28 17:33:00 -07:00
Kevin Locke
b49517c376 Link against libanl only for getaddrinfo_a
Since libanl is only used by nanomsg when it provides getaddrinfo_a, and
is not necessary otherwise (and not available without glibc), use the
same logic for libcriterion.

This fixes the following build failure on FreeBSD 10.3:

    Linking C shared library libcriterion.so
    /usr/bin/ld: cannot find -lanl

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-06-28 15:50:06 -07:00
Snaipe
e3de11a274 readme: Fixed travis badge not displaying 2016-06-28 16:49:18 +02:00
Snaipe
ff431f8860 Merge branch 'patch' into bleeding 2016-06-20 09:53:04 +02:00
Snaipe
81f2b1855a release: Prepare release 2.2.2 2016-06-20 09:36:25 +02:00
Snaipe
6cbe26c2a2 pthread: Fixed child pump not being joined right after a fork.
Fixes #125.
2016-06-20 09:26:13 +02:00
Snaipe
69f7e20c35 Fixed deadlocks when the tests are terminated too fast 2016-06-20 09:26:13 +02:00
Snaipe
0d53444087 [Issue #113] Fixed memory leak in disabled tests 2016-06-20 09:22:14 +02:00