Commit graph

352 commits

Author SHA1 Message Date
Snaipe
11b84284f7 Print strerror when failing to open a report file 2015-11-27 12:24:42 +01:00
Snaipe
07f109eb6e Added error messages when reporting fails 2015-11-27 12:18:46 +01:00
Snaipe
85095ba7e7 Disable --quiet when the provider output path is not stderr 2015-11-27 11:59:39 +01:00
Snaipe
1beccec921 Added back CRITERION_ENABLE_TAP and added CRITERION_OUTPUTS environment variable. 2015-11-26 00:23:27 +01:00
Snaipe
5bdccd862a Fixed unused parameter warnings 2015-11-21 00:07:53 +01:00
Snaipe
80a45b5ecc [Issue #76] Fixed compilation errors for ICC 2015-11-20 19:10:35 +01:00
Snaipe
9b993abb93 Refactored tests and assertions implementation to internal/ 2015-11-17 17:33:44 +01:00
Snaipe
7fa0b6580b Refactored internal headers into its own subdirectory 2015-11-17 16:30:00 +01:00
Snaipe
0722fd4c99 Merge branch 'features/multiple-languages' into bleeding 2015-11-16 20:01:17 +01:00
Snaipe
edc72c9554 Removed math.h dependency on base assertions 2015-11-16 18:19:26 +01:00
Snaipe
5388dd0341 Removed intermediate function pointer cast to integer in theory function call 2015-11-16 14:50:00 +01:00
Snaipe
cb02a30576 Removed MINGW_DEFINE_OFF_T definition when option is off 2015-11-16 00:33:58 +01:00
Snaipe
10e933d758 Fixed pedantic warnings for C99 + POSIX 2008 compatibility 2015-11-16 00:21:30 +01:00
Snaipe
e7faf8aaed Removed ansi checks for off_t definition, and added option to define it if needed. 2015-11-15 22:52:25 +01:00
Snaipe
dd557f6f68 Added __STRICT_ANSI__ check for off_t definition on MinGW builds 2015-11-15 22:41:17 +01:00
Snaipe
900a1e0a29 Refactored cr_off{32,64} definitions to its own header file to avoid collisions 2015-11-15 19:48:29 +01:00
Snaipe
a76e828dc7 Fixed typo on MinGW code 2015-11-15 19:42:07 +01:00
Snaipe
969f0fed74 Extend commit 1617190 on src/compat/posix.h 2015-11-15 19:37:08 +01:00
Snaipe
161719070c Fixed recent MinGW builds failing due to quick fix on the definitions of off_t and off64_t 2015-11-15 19:32:17 +01:00
Snaipe
3c9086dd63 Fixed typo in json output 2015-11-11 13:41:08 +01:00
Snaipe
e59adbff47 Updated json reporter for the new reporting system 2015-11-11 13:19:03 +01:00
Snaipe
f940632c3a Added json output provider 2015-11-11 13:13:51 +01:00
Snaipe
8624880183 [Issue #68] Merge branch 'features/new-reporting' into bleeding
Changelog:

~ Overhauls the output reporting system
+ Adds registration of user defined output reporters
+ Adds --output CLI switch
+ Adds --quiet CLI switch
- Removes CRITERION_ENABLE_{TAP,XML} environment variables
2015-11-11 12:51:53 +01:00
Snaipe
1b3be6458f Fixed missing import for windows compat in entry/main.c 2015-11-11 12:45:26 +01:00
Snaipe
c240b6ff2f Added --output to CLI help message 2015-11-11 12:30:24 +01:00
Snaipe
e4b1a6b3da Fixed warnings in entry/main.c 2015-11-11 12:24:39 +01:00
Snaipe
68b1d4dfcd Added --output CLI switch 2015-11-11 12:05:06 +01:00
Snaipe
554f25608f Refactored output_provider -> logger, and moved actual output providers to io/ 2015-11-11 11:04:28 +01:00
Snaipe
8659994fa9 Added auto-initializing output registration, to allow output provider registration before criterion_initialize() 2015-11-11 10:50:35 +01:00
Snaipe
d527d2db80 Fixed missing destructor, causing a memory leak 2015-11-11 00:31:47 +01:00
Snaipe
446dc0f380 Properly free output file hash map 2015-11-11 00:23:33 +01:00
Snaipe
770c312f70 Added --quiet CLI switch 2015-11-11 00:13:20 +01:00
Snaipe
13c8fa79a8 Updated CLI help message for --tap and --xml 2015-11-10 23:57:16 +01:00
Snaipe
d2d36052d7 Added XML format into the new report system 2015-11-10 23:50:15 +01:00
Snaipe
5d8a32bd83 Added TAP format into the new report system 2015-11-10 23:42:51 +01:00
Snaipe
3b0264c4c8 Added missing output header 2015-11-10 23:41:27 +01:00
Snaipe
da66a5704e Integrated new report system into core 2015-11-10 23:39:37 +01:00
Snaipe
dcfbc13773 Removed TAP & XML reporters 2015-11-10 22:23:40 +01:00
Snaipe
27991e7f66 Exported API for output registration 2015-11-10 22:11:57 +01:00
Snaipe
36543fb956 Added basic reporter/output registration 2015-11-10 22:06:21 +01:00
Snaipe
2ecb8e164b Fixed criterion_handle_args printing an error message on unknown parameters when handle_unknown_arg is true 2015-10-07 13:07:11 +02:00
Snaipe
06088a856c [Fixes #72] Added --jobs to help message 2015-10-06 16:07:28 +02:00
Snaipe
5fb367c338 Merge branch 'features/xml-reporting' into bleeding 2015-10-06 15:52:11 +02:00
Snaipe
3733c858cb Fixed regression tests sometimes failing because of them being time-dependent 2015-10-06 15:44:09 +02:00
Snaipe
15f3af54fe Fixed compilation error on MinGW due to how C++ attributes are handled 2015-10-05 20:05:54 +02:00
Snaipe
c0e7486df3 Added --xml to help message and documentation 2015-10-05 16:27:31 +02:00
Snaipe
a838e7786f Added XML logging 2015-10-05 16:22:55 +02:00
Snaipe
0d3537d891 Refactored strtok_r compatibility layer to compat/posix.h 2015-10-05 16:22:37 +02:00
Snaipe
5a1049ce2c Added Objective-C language support 2015-10-04 23:20:41 +02:00
Franklin Mathieu
237bcb57df Merge pull request #70 from am11/bleeding
config: Check strtok_s capability
2015-10-03 11:59:50 +02:00