Martin Hořeňovský
c6bf56b3d5
Fix Travis builds with clang 5/6
...
There is some weird broken dependency in their version of Trusty
(14.04 LTE), so we are using Xenial (16.04 LTE) instead.
2019-09-06 12:07:29 +02:00
Martin Hořeňovský
623e348d9e
Merge pull request #1744 from ux3d/add-ux3d-to-commercial-users
...
add UX3D to commercial users
2019-09-06 11:37:55 +02:00
Benjamin Schmithüsen
46f767e602
add UX3D to commercial users
2019-09-06 11:27:33 +02:00
Martin Hořeňovský
ce42deb72f
Add Android's log library to Catch2's CMake interface
2019-08-10 20:51:15 +02:00
Martin Hořeňovský
46a70071a7
Use __android_log_write instead of __android_log_print
...
`print` version of the logging functions supports `printf`-like
formatting, which we do not use and given our current debug print
internals, will never use. This should be slightly more efficient
and expresses the intent better.
2019-08-10 14:51:38 +02:00
Jesse Alas
378cc1a670
Rename template parameter names to avoid name conflict on Solaris.
...
Closes #1722
2019-08-10 10:55:17 +02:00
Martin Hořeňovský
e2d863b090
Actually run the random generator tests
2019-08-09 11:21:05 +02:00
Martin Hořeňovský
ebe6a07c23
Remove the new tests from approvals
...
They lead to stringification of file (which is ok) and file line
(not ok) to the approvals, which makes them exceedingly brittle
and not worth approval testing. Instead we just run them as part
of the base test run.
2019-08-09 11:13:28 +02:00
Martin Hořeňovský
edcfd7fc62
Add missed item to v2.9.2 release notes
2019-08-09 10:57:59 +02:00
Martin Hořeňovský
738818ae1d
Add a test for the internals
2019-08-09 10:50:53 +02:00
Martin Hořeňovský
2c869e17e4
v2.9.2
2019-08-08 14:05:24 +02:00
Martin Hořeňovský
0ab11aa9b4
(Hopefully) Fix Obj-C++ compilation of matchers
...
Thanks to bdb for the patch, related to #1661
2019-08-07 20:35:27 +02:00
Martin Hořeňovský
7a6af7ba76
Merge pull request #1717 from ax3l/fix-storageClassFirst
...
static constexpr: storage class first
2019-08-07 09:23:47 +02:00
Martin Hořeňovský
fa096b26d1
Merge pull request #1715 from sfranzen/fix-compact-reporter
...
Fix infinite loop in compact reporter printer
2019-08-07 09:12:38 +02:00
Axel Huebl
820b1f12bf
static constexpr: storage class first
...
Seen with PGI compiler for `static constexpr`:
```
warning: storage class is not first
```
2019-08-06 19:17:16 -05:00
Steven Franzen
6070745cab
Improve reporting of unmatched filters ( #1684 )
...
This PR ultimately does 3 things
* Separately tracks matched tests per each filter part (that is, a set of filters separated by an OR (`,`)), which allows Catch2 to report each of the alternative filters that don't match any tests.
* Fixes `-w NoTests` to return non-zero in the process
* Adds tests for `-w NoTests`.
2019-08-06 20:51:19 +02:00
Steven Franzen
3d9e7db2e0
Fix infinite loop in compact reporter printer
...
Also simplify some variables with auto deduction.
2019-08-06 20:19:42 +02:00
Martin Hořeňovský
cf55cfd76f
Tiny speedup when listing tags
...
Noticed that the code was originally concatenating strings just to
then append the result to another string. Now it does not create
temporaries and also preallocates the string buffer.
2019-08-05 19:12:29 +02:00
Martin Hořeňovský
3701c2e2e6
Small cleanup of self tests
2019-08-04 13:50:25 +02:00
Martin Hořeňovský
7dc7d77af2
Add a test for Catch version output
2019-08-03 20:16:46 +02:00
Martin Hořeňovský
06bc20cf37
Improve handling of newlines in release scripts
...
Under WSL, Python in text mode will translate `\n` into `\r\n`, even
though other tools and utilities use `\n` (because WSL is basically
Linux). This leads to the update scripts leaving the files with
Windows newlines even though git and similar expect them to have
Linux newlines.
By instead handling files in binary mode, we can keep the original
newlines. This commits switches parts of the update process to
binary mode, but not all because some of the will require a lot of
work to fix.
2019-08-03 19:59:35 +02:00
Martin Hořeňovský
7a4beed6a6
Make release script update version placeholders in docs
2019-08-03 10:44:57 +02:00
Clare Macrae
67b4ada6b0
Add 'Introduced in Catch 2.3.0.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
119569a67e
Add 'Introduced in Catch 2.4.0.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
ab713894cc
Add docs for AND_GIVEN macro - see #1360
2019-08-02 19:18:47 +02:00
Clare Macrae
69fc94d6f8
Add 'Introduced in Catch 2.4.1.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
49cd7c96b4
Add 'Introduced in Catch 2.4.2.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
e998d152cc
Add 'Introduced in Catch 2.5.0.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
42a5903188
Add 'Introduced in Catch 2.6.0.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
c071f07e1a
Add 'Introduced in Catch 2.7.0.' note
2019-08-02 19:18:47 +02:00
Clare Macrae
53776a90cf
Add 'Introduced in Catch 2.7.1.' note
2019-08-02 19:18:47 +02:00
Clare Macrae
4511dc0c16
Add 'Introduced in Catch 2.8.0.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
e7c3bdb351
Add 'Introduced in Catch 2.8.0.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
9aab958667
Add section headers, so I can later say when features were introduced
2019-08-02 19:18:47 +02:00
Clare Macrae
8cd58f75ec
Add missing struct Template_Fixture_2 so that the example compiles.
...
Code copied from projects/SelfTest/UsageTests/Class.tests.cpp
2019-08-02 19:18:47 +02:00
Clare Macrae
d5a69cd400
Add 'Introduced in Catch 2.9.0.' text
2019-08-02 19:18:47 +02:00
Clare Macrae
1d13d88833
Helper script to create "Introduced in ..." text - see #1667
2019-08-02 19:18:47 +02:00
Martin Hořeňovský
de0674c116
Add a template for creating new documentation page
...
Related to #1695
2019-08-02 13:17:22 +02:00
Martin Hořeňovský
3d7282c2bd
Add a section on documentation to contributing.md
...
Related to #1695
2019-08-02 10:58:51 +02:00
Mike Cowan
e5c0e3322d
Add Android implementation of writeToDebugConsole that prints to Logcat ( #1710 )
2019-07-31 23:12:34 +02:00
Martin Hořeňovský
dc8c8e957f
Use an up to date conan package version again
...
Last time it was fixed to a specific version because the `conan`
and the `conan-package-tools` package that `pip install` would
gather were not compatible, let's hope it won't happen again.
2019-07-31 15:59:16 +02:00
Martin Hořeňovský
ba9193370b
Add autoconfiguration for RTX
...
Closes #1693
2019-07-30 11:28:28 +02:00
Czapa10
7b70b11c23
Add PopHead to Open Source projects using Catch
2019-07-30 09:37:05 +02:00
Martin Hořeňovský
ab80277a86
Improve the REQUIRE_THROWS_MATCHES documentation a bit
2019-07-29 20:39:02 +02:00
Joachim Meyer
7e7ab0e28b
Fix xml reporter crashing when a benchmark failed.
2019-07-29 15:30:33 +02:00
Martin Hořeňovský
425957dc63
Update vector matcher documentation
...
As it turns out, there were 2 undocumented vector matchers. I also
improved the documentation of them all.
Closes #1699
2019-07-27 18:41:42 +02:00
Martin Hořeňovský
d017f6d18f
Document CATCH_CONFIG_CPP17_BYTE macro
...
Leftover from #1686
2019-07-26 21:43:46 +02:00
Martin Hořeňovský
91244d30a7
Document CATCH_CONFIG_CPP17_OPTIONAL macro
2019-07-26 21:42:54 +02:00
Martin Hořeňovský
62b3f6c3c2
Merge pull request #1698 from sfranzen/fix-#1634
...
Fix CTest command issue with square brackets
2019-07-22 13:15:35 +02:00
Benjamin Worpitz
e7c26f09d1
Fix non-default-constructible type lists used in TEMPLATE_LIST_TEST_CASE ( #1697 )
...
* Fix non-default-constructible type lists used in TEMPLATE_LIST_TEST_CASE
std::tuple is not default constructible when the first type is not
default-constuctible. Therefore it can not be instantiated.
to circumvent this, we have to use std::declval in the unevaluate decltype
context.
2019-07-22 12:56:33 +02:00