Snaipe
66556c8cdb
debug: Added support for --debug=idle. Fixes #154 .
2016-09-16 17:15:47 +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
c299b8dd85
style: Fixed (A) Op (B) formatting taking 'Op' as a function rather than an operator
2016-09-06 10:49:10 +02:00
Snaipe
f32a46694a
style: Use 'internal' rather than '<internal>' for API macro implementations
2016-09-05 22:09:25 +02:00
Snaipe
d2a4124b87
style: Added and enforce uncrustify config
2016-09-05 21:32:57 +02:00
Snaipe
033bac0c5e
style: disable indent for delicate places
2016-09-05 14:36:00 +02:00
ailu
91250fed74
Fixed output of skipped tests
2016-09-05 10:04:10 +02:00
Snaipe
4e1a877c66
cli: Added --timeout flag
2016-09-04 21:06:25 +02:00
ailu
7143118b5c
api: added cr_skip_test()
...
Added cr_skip_test to skip a test during runtime. Also merged the old
disable system with the new one. All skipped tests are printed by
normal_log_post_suite(), so there is no need for a logger function for
runtime skipepd tests.
Fixes #131 .
2016-09-03 23:06:35 +02:00
Snaipe
a3df2ab9a4
section: introspect sections without linker extensions. Fixes #91
2016-09-03 21:55:32 +02:00
Snaipe
8882c7d9cc
api,logging: Fixed placement of CR_FORMAT attribute on cr_log
2016-09-03 18:55:09 +02:00
Snaipe
32fea80b7d
api: Don't use free directly with cr_asprintf. Fixes #87
2016-09-03 08:33:34 -07:00
Snaipe
a4ad3084a9
options: Deprecate no-early-exit
2016-09-03 16:05:53 +02:00
Snaipe
aa9b2aa915
cli: Added --debug. Fixes #85 .
2016-09-03 15:14:06 +02:00
Snaipe
525f2e0ce0
api: Fixed APIs exports. Fixes #145 .
2016-08-31 16:56:47 +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
commit
f201d85e3c
Behavior of cr_assert_str* assertions changed:
...
- Default assertion messages will now print the expession and the content of both strings.
- String assertions will not crash, if the actual string is NULL.
(cr_assert_not_null(actual) is called before the cr_assert_str* assertion)
2016-06-07 16:56:17 +02:00
Snaipe
38653a6414
Merge branch 'master' into bleeding
...
This merges the changes brought by 2.2.1 into bleeding.
2016-04-13 11:57:37 +02:00
Snaipe
7092a1c5aa
doc: Fixed parameterized test dumping criterion namespace
2016-04-10 17:15:30 +02:00
Snaipe
952687c4c9
doc: Integrated doxygen docs for parameterized tests in sphinx
2016-04-10 16:27:35 +02:00
Snaipe
70d693766c
doc: Integrated doxygen on invariants to sphinx page on theories
2016-04-10 16:27:30 +02:00
Snaipe
e24d2f3c79
doc: Ignore deprecated assertions
2016-04-10 15:17:06 +02:00
Snaipe
91c85cb2bc
Integrated theories doxygen into sphinx docs
2016-04-10 15:17:06 +02:00
Snaipe
411bdb73df
Moved actual implementation of Test & TestSuite in internal/test.h
2016-04-10 15:12:32 +02:00
Snaipe
8bcc21e55c
Moved CR_STDN definition to commons
2016-04-10 15:12:32 +02:00
Snaipe
d95bfa2de8
Fixed macro redefinition errors for redirect.h
2016-04-10 15:12:32 +02:00
Snaipe
1d216ac929
Added more details to test option fields & integrated doxygen docs for Test and TestSuite
2016-04-10 15:12:32 +02:00
Snaipe
cbe733b7f9
Fixed doxygen warnings on unknown <type> xml tag
2016-04-10 15:12:32 +02:00
Snaipe
c270c02940
Fixed asserts doxygen & integrated them into the assertion reference
2016-04-10 15:12:32 +02:00
Snaipe
c5b4ca27d7
Fixed redirected standard streams being leaked by cr_(assert|expect)_std(out|err)
2016-03-05 15:51:50 +01:00
ailu
faa44899a6
added doxygen for cr_assume_* macros
2016-02-23 18:25:46 +01:00
Snaipe
de5ec40466
Fixed out of bounds during assert message sending
2016-02-22 16:56:00 +01:00
ailu
4bea3d5ce2
Add doxygen documentation in API headers
2016-02-20 13:09:20 +01:00
ailu
70a5b88763
added licenses
2016-02-18 07:31:57 +01:00
Snaipe
9bc0da9e83
Added C++ stream interface for logging
2016-02-18 00:05:15 +01:00
Snaipe
9e0a746a2e
Fixed typo in deprecation macro
2016-02-18 00:05:15 +01:00
Snaipe
8ab938d06d
Added deprecation for old criterion logging macros
2016-02-18 00:05:15 +01:00
Snaipe
b8bfa34c22
Added simple message logging from a test worker
2016-02-18 00:05:14 +01:00
Snaipe
ec5c8958cb
Fixed naming convention conflicts for internal variables used by the implementation of cr_assert
2016-02-16 17:47:02 +01:00
Snaipe
1f674d3ffb
Fixed empty format string warning with GCC 4.8
2016-02-16 17:35:14 +01:00
Snaipe
8c1c9c05ee
Fixed file-to-file comparison assert message being corrupted
2016-02-10 23:27:51 +01:00
Snaipe
e638cf3d43
Merge branch 'features/io-rewrite-nanopb' into bleeding
2016-01-18 01:35:55 +01:00
Snaipe
c4f5e6baed
Implemented simple server mode
2016-01-12 00:17:03 +01:00
Snaipe
f4e444a8d3
Integrated new protocol into the core
2016-01-11 12:21:58 +01:00
Snaipe
2461574214
We're in 2016.
2016-01-06 17:35:35 +01:00
Snaipe
6936ca44de
Removed the generic event sending function from the API
2015-12-13 18:52:56 +01:00
Snaipe
43f7d837f0
Started to integrate the new message pump into the runner
2015-12-13 17:18:06 +01:00
Snaipe
78a62465e9
Merge branch 'features/language-decouple' into bleeding
2015-12-08 13:52:29 +01:00
Snaipe
f913940427
Fixed decoupling for parameterized tests and fixed missing definitions
2015-12-08 02:36:23 +01:00