Commit graph

740 commits

Author SHA1 Message Date
Snaipe
a6ff1f110c Added json regression test 2015-11-11 13:43:51 +01:00
Snaipe
3c9086dd63 Fixed typo in json output 2015-11-11 13:41:08 +01:00
Snaipe
3cfb0aa5a8 Added documentation for --json 2015-11-11 13:26:49 +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
a046cb2b3b Added documentation for registering custom output providers 2015-11-11 11:48:39 +01:00
Snaipe
d165e99e91 Relaxed io tests timeout to 1 second 2015-11-11 11:07:47 +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
06dcdc32c7 Fixed typo in env doc, added missing doc for CRITERION_DISABLE_TIME_MEASUREMENTS 2015-11-11 10:40:30 +01:00
Snaipe
c5c5fe8699 Updated documentation for the new reporting system 2015-11-11 10:39:07 +01:00
Snaipe
94eb04d9ff Disabled i18n on appveyor builds 2015-11-11 00:43:41 +01:00
Snaipe
a3477d689a Added i18n cmake option 2015-11-11 00:41:38 +01:00
Snaipe
d527d2db80 Fixed missing destructor, causing a memory leak 2015-11-11 00:31:47 +01:00
Snaipe
cda6b93212 Updated line counts for po files 2015-11-11 00:24:58 +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
1928e161f7 Added klib cmake dependency 2015-11-10 22:05:19 +01:00
Snaipe
a45b04df4a Added klib dependency 2015-11-10 22:04:25 +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
72d47ef43c Added xml tests 2015-10-06 14:58:46 +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
ec6ea15491 Added IRC channel to README page 2015-10-05 19:12:58 +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
Franklin Mathieu
237bcb57df Merge pull request #70 from am11/bleeding
config: Check strtok_s capability
2015-10-03 11:59:50 +02:00
Adeel
786e70dd1b config: Check strtok_s capability.
Also cleans up redundancies and adds pragma in `UNUSED` macro.
2015-10-03 12:23:16 +03:00
Snaipe
1fbcecc520 Fixed dummy test still being registered 2015-10-03 00:54:16 +02:00
Snaipe
4148d3d5d4 [Issue #64] Prefixed all unprefixed API functions and types 2015-10-02 15:10:41 +02:00
Snaipe
c3fdc08b02 [Issue #64] Prefixed all unprefixed macros with CR_ 2015-10-02 15:02:50 +02:00
Snaipe
0d17ecc0f5 Added missing header exports in CMake config 2015-10-02 14:45:28 +02:00
Snaipe
c530fd08eb Merge branch 'feature/language-separation' into bleeding 2015-10-02 10:01:46 +02:00
Snaipe
10c9e4eed2 [Issues #65,#66] Delayed TAP output until the end of the tests 2015-10-02 10:00:51 +02:00