Commit graph

1210 commits

Author SHA1 Message Date
Snaipe
4c1a399dab travis: Added coverity configuration 2016-05-06 20:10:01 +02:00
Snaipe
0c389023ec cram: Remove cmake dependency on target criterion_samples 2016-05-05 16:28:36 +02:00
Snaipe
cd57b9f6f4 appveyor: Don't install unnecessary packages 2016-05-05 16:21:39 +02:00
Snaipe
cb3486eb7b core: Fixed #121 Single mode crashes 2016-05-05 15:44:35 +02:00
Franklin Mathieu
341b221458 Merge pull request #119 from am11/fix/gh-118
Remove `restrict` keyword usages
2016-04-28 00:44:17 +02:00
Adeel
fc066a710d Remove restrict keyword usages
This turned out to be a bug in the recent C99 support:
https://connect.microsoft.com/VisualStudio/Feedback/Details/1161593
(ticket probably needs some votes to draw their attention)

Since this is little to no value there for `restrict` anyway, it has
been removed.

Contributes to #118.
2016-04-24 12:36:20 +03:00
Snaipe
9fe47197b9 cmake: Forcefully pass CFLAGS to nanomsg 2016-04-23 14:34:09 +02:00
Snaipe
e0a058c95e nanomsg: Updated winnt version and set fork sources to be unix-only 2016-04-23 14:21:24 +02:00
Snaipe
fb684a140a cmake: Pass -fPIC to nanomsg cflags 2016-04-23 14:12:16 +02:00
Snaipe
83ad6bca21 nanomsg: Updated fork patch to latest 2016-04-23 14:04:06 +02:00
Snaipe
d699665274 windows: Fixed hangs 2016-04-23 12:09:14 +02:00
Snaipe
5f32927b63 travis: Added --output-on-failure to ctest 2016-04-22 00:16:53 +02:00
Snaipe
887d04363c appveyor: Added timeout & helpful diagnostics 2016-04-19 22:51:50 +02:00
Snaipe
676a31baac test: Fixed cram tests not working without PYTHON_BIN defined 2016-04-19 22:29:49 +02:00
Franklin Mathieu
605fd3efd5 Merge pull request #117 from kaidowei/bleeding
XML: The output parameter --xml now generates xml-files with the elapsed time.
2016-04-19 19:45:19 +02:00
commit
f5340f8f27 XML: The output parameter --xml now generates xml-files with the elapsed time. 2016-04-19 19:16:15 +02:00
Franklin Mathieu
1f7ca2f32b Merge pull request #101 from kaidowei/bleeding
cli: Strip red ANSI color from the failing & crashing summary if there were no errored tests.
2016-04-13 15:37:40 +02:00
Snaipe
cd814f9899 protocol: Fixed rc check being removed on Release builds 2016-04-13 15:22:01 +02:00
Snaipe
4842cf0d9e protocol: Connect to a PID-bound named socket 2016-04-13 15:03:23 +02:00
Snaipe
0e1eec940a appveyor: Install cram 0.6 2016-04-13 12:20:30 +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
6b4fff1a30 readme: Fixed download links 2016-04-13 11:19:38 +02:00
Snaipe
9a035fab70 Merge branch 'features/sphinx-doxygen' into bleeding 2016-04-10 17:17:23 +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
733153cca0 Set REPEAT_BRIEF to NO 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
d2ecb5c0ac Added collapsible definition lists for sphinx docs 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
7bd7053aa5 Integrated doxygen into sphinx docs 2016-04-10 15:12:32 +02:00
Franklin Mathieu
f285c3bc58 Merge pull request #114 from blinskey/gcov-faq
doc: Add coverage info to FAQ
2016-04-04 05:18:39 +02:00
Ben Linskey
e9f8d46c1b Add coverage info to FAQ in docs
Adds a question and answer explaining how to generate Gcov test coverage
data. Answer text is copied from https://github.com/Snaipe/Criterion/pull/84#issuecomment-161551069
2016-04-03 19:28:40 -04:00
Snaipe
95d7ed4356 [v2.2.1] Merge branch 'patch' (Patch release)
* Fix: fixed criterion not being embeddable with CMake's `add_directory`
* Fix: fixed resource leaks in the child pump thread
* Fix: fixed redirected standard streams being leaked by cr_(assert|expect)_std(out|err)
* Fix: fixed out of bounds during assert message sending
* Fix: fixed naming convention conflicts for internal variables used by the implementation of cr_assert
* Fix: fixed empty format string warning with GCC 4.8
* Fix: fixed file-to-file comparison assert message being corrupted
2016-03-06 13:45:29 +01:00
Snaipe
22c9c3ec1c Merge branch 'fix-project-src-bin-dir' of https://github.com/MrAnno/Criterion into patch 2016-03-05 16:14:14 +01:00
Snaipe
00d3ef7ad8 Fixed resource leaks the child pump thread 2016-03-05 15:53:50 +01:00
Snaipe
c5b4ca27d7 Fixed redirected standard streams being leaked by cr_(assert|expect)_std(out|err) 2016-03-05 15:51:50 +01:00
László Várady
b4f5197288 Switched CMAKE_*_DIR variables to PROJECT_*_DIR
With this change, Criterion can be added as a cmake subproject
with the add_subdirectory() command.
2016-03-05 13:34:26 +01:00
Franklin Mathieu
2e84d3d443 Merge pull request #108 from a1lu/features/doxygen-api
added doxygen for cr_assume_* macros
2016-02-23 19:11:27 +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
Franklin Mathieu
1ef7c0f25a Merge pull request #106 from a1lu/doc/api-docs
Add doxygen documentation in API headers (Fixes #80)
2016-02-20 14:46:30 +01:00
ailu
4bea3d5ce2 Add doxygen documentation in API headers 2016-02-20 13:09:20 +01:00
Snaipe
0f76430d74 Removed libcsptr tests from builds 2016-02-19 21:10:15 +01:00