Clare Macrae
925f72a276
Regenerate docs with latest mdsnippets
2021-02-07 12:04:06 +00:00
Clare Macrae
77e2451da1
Update config file for mdsnippets 23.0.0
...
mdsnippets 23.0.0 introduced a breaking change - see https://github.com/SimonCropp/MarkdownSnippets/pull/360 for the motivation, and what edits need to be made.
This PR updates this project for that change.
2021-02-07 12:03:48 +00:00
Rohit Goswami
3eade52fc0
users: Add d-SEAMS
2021-02-04 22:53:00 +01:00
Martin Hořeňovský
2dbe63a6ba
Merge pull request #2165 from catchorg/devel-gmtime-fixup
...
Use gmtime_r instead of gmtime when compiling for posixy platforms
2021-01-27 19:55:41 +01:00
Martin Hořeňovský
477540760a
Use gmtime_r instead of gmtime when compiling for posixy platforms
2021-01-27 11:49:52 +01:00
Martin Hořeňovský
b435e391c4
Merge pull request #2163 from catchorg/devel-list-outputs-to-out-flag
...
The output of --list-* flags obeys -o flag
2021-01-27 09:07:15 +01:00
Martin Hořeňovský
971b1fc32a
--list-* flags write to target specified by the -o flag
...
Also added tests for the default implementations of list* reporter
helpers.
Closes #2061
2021-01-26 18:36:54 +01:00
Martin Hořeňovský
6798c139a6
Extract the default listing implementation out of reporter interface
...
Also generalized the implementations to write to the provided
output stream, which will be required for the follow up changes,
where the listings should happen to the location user asked for
by specifying the `-o` flag.
2021-01-26 11:23:37 +01:00
Martin Hořeňovský
7111b2a8e2
Cleanup IStreamingReporter::listTests
2021-01-16 15:50:52 +01:00
Martin Hořeňovský
5509ceff60
Remove superfluous IConfig argument from IStreamingReporter::list*
...
The previous commit made it so that the `IConfig` is stored in
`IStreamingReporter` and thus always available.
2021-01-16 15:48:29 +01:00
Martin Hořeňovský
74f2f4ba5e
Hold reporter's IConfig instance in the interface
...
Previously, every base derived from the IStreamingReporter had
its own `IConfig const* m_config` member, so this just centralizes
the handling thereof.
Part of #2061
2021-01-16 15:27:56 +01:00
John Zimmermann
ba81505168
Do not match exact amount of spaces for errno macro expansion in approvalTests.py
...
E.g. musl libc expands errno() to __errno_location() without a space between, glibc has 1 space.
2021-01-08 11:31:28 +01:00
Martin Hořeňovský
f5b413aa58
Merge pull request #2138 from catchorg/devel-config-splitting
...
Split some configuration options out of catch_compiler_capabilities
2020-12-29 12:37:27 +01:00
Martin Hořeňovský
4e8832fc88
Split CATCH_CONFIG_COUNTER into its own header
...
Part of #2041
2020-12-29 11:07:45 +01:00
Martin Hořeňovský
bdd1e5c613
Remove some superfluous includes
2020-12-28 21:11:54 +01:00
Martin Hořeňovský
1d269211bd
Split CATCH_CONFIG_WCHAR into its own header
...
Part of #2041
2020-12-28 20:51:49 +01:00
Roman Proskuryakov
0acb371b92
Fix Wold-style-cast error ( #2125 )
...
* Add Wold-style-cast to cmake flags
* Fix old style cast in catch_stats.hpp
* Fix old style cast in catch_stats.cpp
2020-12-28 14:00:19 +01:00
Florian Berchtold
045feff834
Update cmake-integration.md ( #2115 )
...
* Update cmake-integration.md
CMake related, mainly more modern and provide an executable to be correct
Co-authored-by: Martin Hořeňovský <martin.horenovsky@gmail.com>
2020-12-28 13:41:55 +01:00
Martin Hořeňovský
965afc4b2e
Split CATCH_CONFIG_ANDROID_LOGWRITE into its own header
...
Part of #2041
2020-12-28 12:53:52 +01:00
Martin Hořeňovský
77643ce2e5
Add more comprehensive tests for the quantifier matchers
...
This includes
* Testing both positive and negative path through the matchers
* Testing them with types whose `begin` and `end` member functions
require ADL
* Testing them with types that return different types from `begin`
and `end`
2020-12-27 20:20:55 +01:00
Uriel García Rivas
552af8920d
Added AnyMatch, AllMatch and NoneMatch
2020-12-27 20:20:55 +01:00
Alex Voicu
ce54ec185f
Add the HIP CPU Runtime as a Catch2 user ( #2123 )
2020-12-18 13:23:17 +01:00
Martin Hořeňovský
c787b1edc9
Make Linux builds print stdout on ctest test failure
2020-12-15 09:58:19 +01:00
Martin Hořeňovský
a091853f4a
Rename file catch_matchers_floating -> catch_matchers_floating_point
...
The old name was a legacy of v2 era, where all headers were stitched
into one. With v3 using separate headers, it is better when they have
proper name.
2020-12-13 18:12:20 +01:00
Norbert Wenzel
be813faaa0
Fix typo
2020-12-12 15:31:20 +01:00
Martin Hořeňovský
4b51d0dd3b
Remove rest of std::shared_ptr usage in Trackers
...
Closes #2088
2020-12-05 15:19:23 +01:00
Martin Hořeňovský
6350851f9a
Return plain ptr from ITracker::findChild instead of shared_ptr
...
This is part of wider rework of trackers to avoid `std::shared_ptr`
everywhere.
Related to #2088
2020-12-04 21:37:24 +01:00
cat_mint
21c97f2fad
Use snprintf instead of sprintf ( #2111 )
2020-12-01 18:59:27 +01:00
Martin Hořeňovský
5b1a6ae00a
Merge pull request #2112 from Emil-Jarosz/patch-1
...
Update cmake-integration.md
2020-11-30 21:18:25 +01:00
Emil Jarosz
b9fe8a208f
Update cmake-integration.md
...
The "contrib" folder was renamed to "extras", but the name wasn't updated in the documentation.
2020-11-30 13:10:26 +00:00
Martin Hořeňovský
c19b8ec5d7
Remove TravisCI builds subsumed by GitHub Actions builds
2020-11-29 23:18:57 +01:00
Martin Hořeňovský
230f23e6ee
Add more Clang builds to github actions
2020-11-29 10:22:21 +01:00
Martin Hořeňovský
88504e5332
Use Ubuntu-20.04 runner for running header guard validation
...
Using `ubuntu-latest` is triggering warning that it will soon migrate
from 18.04 to 20.04, so I am migrating preventively.
2020-11-28 23:09:10 +01:00
Martin Hořeňovský
4da0c18526
C++17 Mac builds
2020-11-28 21:13:00 +01:00
Martin Hořeňovský
1d746a15ac
Move Examples and ExtraTests Mac builds to Github Actions
2020-11-28 21:03:38 +01:00
Martin Hořeňovský
19cbdebb0e
Lenghten timing threshold in --min-duration integration test
2020-11-28 21:00:09 +01:00
Martin Hořeňovský
f30a9e3feb
Move some Mac builds from Travis to GitHub Actions
2020-11-28 17:47:26 +01:00
Martin Hořeňovský
e7740316e3
Split TestFailureException into its own header
2020-11-28 11:18:54 +01:00
Martin Hořeňovský
72525a3053
Rename catch_common.hpp -> catch_source_line_info.hpp
...
Previous splitting of catch_common.hpp left it containing only one
actual thing, which is the `SourceLineInfo` type. Given that, there
is no reason to keep the old name.
Also found out that it was included in some places for no reason
(primarily Matchers).
2020-11-28 11:18:51 +01:00
Martin Hořeňovský
1982c0d5ee
Split out the StreamEndStop helper into its own header
2020-11-28 11:18:46 +01:00
Martin Hořeňovský
0442229dc9
Start using GitHub actions for Linux builds
...
For now we switched only some of the builds, those that do not
need manually installed compiler packages to function.
2020-11-28 11:13:16 +01:00
Martin Hořeňovský
130bf835b5
Simple Doxygen file
2020-11-26 18:43:31 +01:00
Martin Hořeňovský
c3e8ae642f
Remove pointless virtual in WildcardPattern
2020-11-26 18:35:20 +01:00
Martin Hořeňovský
3bd5fd6bc5
Mention GENERATE decaying inputs in release notes docs
2020-11-26 18:35:02 +01:00
Martin Hořeňovský
f36e059453
Remove superfluous <memory> include from catch_reporter_cumulative_base.hpp
2020-11-26 18:06:21 +01:00
Martin Hořeňovský
677adf8ade
Replace shared_ptrs with unique_ptrs in CumulativeReporterBase nodes
...
Closes #2089
2020-11-26 14:45:27 +01:00
Martin Hořeňovský
bfe5553416
CumulativeReporterBase doesn't use shared_ptrs for sectionStack
2020-11-26 10:21:12 +01:00
Martin Hořeňovský
c673db7a4e
Add explanatory comment to CumulativeReporterBase
2020-11-26 09:45:28 +01:00
Martin Hořeňovský
b10a19545b
CumulativeReporterBase stores TestRunNodes directly
2020-11-26 09:43:23 +01:00
Martin Hořeňovský
e5ccb79bf8
Remove pointless virtual on StreamingReporterBase::Node destructor
2020-11-25 21:57:30 +01:00