Commit Graph

1214 Commits

Author SHA1 Message Date
Steffen Vogel 5b0f2b1290 create nanomsg sockets in /var/lib by default 2016-09-27 21:20:37 -04:00
Snaipe 69a05ded6d doc: Fixed wrong usage of parameterized test arrays 2016-09-27 18:52:48 +02:00
Snaipe 4e0ee1a319 theories: Fixed leak in theory context destruction 2016-09-24 21:16:35 +02:00
Snaipe 932b943cd2 cli: Fixed --no-early-exit falling through to --use-ascii 2016-09-24 21:14:49 +02:00
Snaipe faaae85b80 cram,osx: Fixed mismatch in getopt diagnostic 2016-09-24 20:32:12 +02:00
Snaipe 182a66bc43 ubsan: Fixed shift overflow on signed int 2016-09-24 14:16:14 +02:00
Snaipe e0ea52e60d cram: Added test for invalid CLI flags 2016-09-24 14:08:15 +02:00
Snaipe f8107d221e params: Fixed unknown flags implying --crash. Fixes #166 2016-09-24 14:01:48 +02:00
Snaipe 2d6959d777 contrib: Added autotools skeleton 2016-09-24 00:51:49 +02:00
Snaipe 12691f094c travis: Use the default python installation for cram 2016-09-23 17:23:24 +02:00
Snaipe 20d8b5a4fd authors: Added AUTHORS file 2016-09-22 13:03:40 +02:00
Snaipe 20a9da7c18 changelog: Added the parameter change to the custom logger provider API 2016-09-21 13:57:25 +02:00
Snaipe 4093cfa0d6 context: Inherit criterion_options in the test sandbox. Fixes #164. 2016-09-21 13:49:19 +02:00
Snaipe a9df7911d6 release: Prepare a release candidate for 2.3.0 2016-09-19 00:21:17 +02:00
Snaipe e864f3dbf2 boxfort,windows: Fixed arena mapping errors. Fixes #149. 2016-09-18 21:45:57 +02:00
Snaipe e9ef474878 doc: Added note regarding abort in hooks. Addresses partially #163 2016-09-17 12:30:34 +02:00
Snaipe bf23bb82de boxfort: Fixed hangs on windows 2016-09-16 20:22:46 +02:00
Snaipe 4c15e137bc boxfort: Updated for compilation issues 2016-09-16 19:21:18 +02:00
Snaipe 56c5fea2fc debug: Fixed debugger value passed to boxfort 2016-09-16 17:28:09 +02:00
Snaipe 66556c8cdb debug: Added support for --debug=idle. Fixes #154. 2016-09-16 17:15:47 +02:00
Snaipe 0507dfcf50 licence: Added missing license header on io/output.c 2016-09-14 11:50:15 +02:00
Snaipe 301d143ea4 elf,section: Fixed section code interpreting all empty names as the current executable
This was causing crashes with eglibc which visits the loaded vdso with
an empty dlpi_name.
2016-09-14 01:23:08 +02:00
Snaipe c48ffae4de mach-o,section: Fixed compilation errors 2016-09-14 00:47:29 +02:00
Snaipe 731991fc18 hooks: Append diffs with tee rather than overwrite them 2016-09-13 23:38:49 +02:00
Snaipe 1c11db55ae section: Added deep section inspection.
This allows loaded dynamic libraries to further provide default hooks,
suites, or even tests.

Fixes #160.
2016-09-13 23:35:57 +02:00
Snaipe 8c840a8fd2 boxfort: Fixed windows builds 2016-09-13 13:21:40 +02:00
Snaipe 6d5fe5a6e1 dyncall: Fixed -fPIC warnings on windows and CXX requirement
Fixes #159.
2016-09-13 12:56:20 +02:00
Kevin Locke ba2c09e192 section: Close FD in open_module_self on error
If open_module_map encounters an error, open_module_self would return 0
while leaving the file descriptor open.  Since close_module does not
validate the state of the mod_handle, callers can't know whether to call
close_module when this occurs.

Resolve this by closing the file descriptor before returning so that
mod_handle is never partially open.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-09-12 21:03:30 -06:00
Kevin Locke 7581417dfa section: Call close_module for open_module_self
Commit a3df2ab abstracted the section handling into several functions.
For ELF, the newly created open_module_self opens a file descriptor to
the executable file which should be closed from close_module.  The
close_module call is missing in report.c and runner.c, causing EMFILE
errors during test runs when the available file descriptors are
exhausted.  This commit fixes the issue.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-09-12 20:53:08 -06:00
Snaipe 39c14abdcc boxfort: Updated submodule 2016-09-11 21:09:57 +02:00
Snaipe 696e648efe i18n: Fixed remaining positional arguments in non-localized strings 2016-09-10 13:03:27 +02:00
Snaipe 0d2521b279 travis,stylecheck: Fixed missing `fi` error 2016-09-10 11:12:10 +02:00
Kevin Locke 07c380d6b7 asserts: Add assertions for wide strings
This commit creates _wcs_ variants of the _str_ assertions for operating
on wchar_t * instead of char *.  The assertions are useful for programs
using wchar_t strings, particularly on Windows where use of the wide
character version of the Windows API is encouraged by Microsoft.

Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
2016-09-10 08:48:30 +02:00
Snaipe 59ed78c4a2 githooks: Fixed precommit hook not producing good patches 2016-09-10 08:47:37 +02:00
Snaipe ca965d3db9 section,elf: Fixed missing ElfW definition on FreeBSD. Fixes #156 2016-09-10 08:47:24 +02:00
Snaipe bb61aef765 version,readme: Fixed broken version badge 2016-09-07 10:43:08 +02:00
ailu 1e28ad1277 fix: set criterion_options.debug to CR_DBG_NATIVE
criterion_options.debug was not set if no argument was given. According
to the docs the native debugger should used, so this member has to be
set to CR_DBG_NATIVE
2016-09-06 22:01:03 +02:00
Snaipe cfd3212a4a sample,asserts: Fixed wrong usage of cr_assert_arr_eq_cmp in C++ 2016-09-06 20:56:42 +02:00
Snaipe c5bfe03733 section: Resolve /proc/self/exe for compatibility with introspection tools like valgrind 2016-09-06 20:03:36 +02:00
Snaipe fc2cf1f9d2 version: bumped version to 2.3.0-dev 2016-09-06 19:11:16 +02:00
Snaipe c99827489a bumpversion: include rc & dev suffixes 2016-09-06 19:08:03 +02:00
Snaipe d83dbb60cf Revert "cmake: Build libcriterion.so as an executable PIE"
This reverts commit 8959dfa83f.
2016-09-06 18:23:04 +02:00
Snaipe fcc3d92d5d version: Fixed reported version 2016-09-06 18:23:04 +02:00
ailu 44849f9ea4 doc: fixed debug-transport arguments 2016-09-06 18:11:03 +02:00
Snaipe 50d0a20e5e travis: Fixed spurious fi as reported 2016-09-06 18:08:27 +02:00
Snaipe 02bb993419 po: Updated line counts 2016-09-06 18:03:41 +02:00
Snaipe 8959dfa83f cmake: Build libcriterion.so as an executable PIE 2016-09-06 18:02:38 +02:00
Snaipe b29e662432 contributing: Added bit on commit messages 2016-09-06 11:02:08 +02:00
Snaipe d886913438 cram: Fixed line counts 2016-09-06 10:50:28 +02:00
Snaipe c299b8dd85 style: Fixed (A) Op (B) formatting taking 'Op' as a function rather than an operator 2016-09-06 10:49:10 +02:00