Benoit Blanchon
908c370f24
Fix error: ISO C++ forbids in-class initialization of non-const static member 'm_started'
2023-01-18 11:10:26 +01:00
Golubchikov Mihail
6c6cfe126a
Backport fix for SIGSTKSZ
2022-07-15 16:13:12 +02:00
Martin Hořeňovský
72df457bab
Merge pull request #2151 from fxcoudert/patch-1
...
Update catch_debugger.h for Apple Silicon
2021-01-13 18:16:54 +01:00
FX Coudert
bb6d08323f
Update catch_debugger.h
2021-01-11 12:22:22 +01:00
Vadim Zeitlin
64a533551d
Enable variadic macros support for MSVS 2005 as it has them
...
Fix the test for MSVC version: variadic macros support is available
since MSVS 2005, a.k.a. MSVC 8, using _MSC_VER=1400.
2019-09-06 11:45:32 +02:00
Mapping Suite
c32f275a00
Fix link to catch.hpp in tutorial.md
2018-12-18 18:19:29 +01:00
Martin Hořeňovský
6860c8def0
v1.12.2
2018-05-14 15:15:28 +02:00
Martin Hořeňovský
3255ee6312
Add missing <cassert> includes
...
Until recently we were probably getting it from some transitive
include, but it broke. Because all files should include what
they use anyway, adding `#include <cassert>` to all files that
use `assert()` without including it is the best solution.
Fixes #1249
2018-04-22 20:36:41 +02:00
Martin Hořeňovský
74effafca7
v1.12.1
2018-03-02 21:22:10 +01:00
Martin Hořeňovský
7d0cfd27ce
Fix deprecation warning in ~ScopedMessage
2018-02-25 21:29:01 +01:00
Martin Hořeňovský
3fe4d394a5
Wrap all uses in min and max in extra parentheses
...
This prevents `min` and `max` macros from windows headers (!@#$)
from breaking compilation.
Related to #1191
2018-02-23 13:06:52 +01:00
Martin Hořeňovský
b97e9a2f8b
Update path for catch-classic vcpkg's portfile
2018-01-12 11:06:09 +01:00
Martin Hořeňovský
34f7cfe046
v1.12.0
2018-01-12 09:59:21 +01:00
Martin Hořeňovský
07b9bda1d2
Revert backport of new evaluate layer to fix C++98 compilation
...
The backport fixed some bugs (ie #981 ), but caused strict C++98
(and MSVC 9) compilers to fail. This means that we will
reintroduce some issues but get back compatibility with obsolete
compilers. People using newer ones can keep using Catch2.
This reverts commit b6e7c9bd7a
.
This reverts commit b7bd52cc98
.
Should fix #1103
2017-12-07 20:02:47 +01:00
Phil Nash
84e8b696b1
Include Info messages in xml reporter even without -s
2017-12-06 16:11:12 +00:00
Pfiffikus
2d91035404
Update assertions.md
...
scale more detailed explained; have to be adapted to PR #1068 if necessary
2017-11-01 13:32:08 +01:00
Martin Hořeňovský
2a3606f8e3
v1.11.0
2017-10-31 13:55:48 +01:00
Martin Hořeňovský
a6cf19abff
Make Approx::margin inclusive
...
Fixes #952 , related to #980
2017-10-30 21:33:29 +01:00
Pfiffikus
06586b7180
Update test-cases-and-sections.md
...
some clarification and typo correction
2017-10-26 13:57:18 +02:00
Clare Macrae
93b3d2cb8f
Fix very minor typo
...
it's -> its
2017-10-24 20:00:27 +02:00
Pfiffikus
a90473df28
Update build-systems.md
...
typo correction
2017-10-24 19:59:59 +02:00
Sebastian Grottel
c9d9699ca8
adds flushes to the output stream of teamcity reporter, making the test output more responsive.
2017-10-17 16:42:05 +02:00
Sebastian Grottel
296955c437
RandomNumberGenerator::result_type
should be unsigned (#1050 )
...
`result_type` must be unsigned:
http://en.cppreference.com/w/cpp/concept/UniformRandomBitGenerator
Using a signed type causes an infinite loop working with MS Visual Studio 2017, targetting: v140, WindowsTargetPlatformVersion 10.0.15063.0, Debug, x64
2017-10-15 18:30:40 +02:00
dvirtz
664cbf702c
added PARSE_CATCH_TESTS_ADD_TO_CONFIGURE_DEPENDS option
2017-10-15 17:58:39 +02:00
Martin Hořeňovský
fb6700df54
Fix documentation crosslink in configuration.md
2017-10-14 08:36:44 +02:00
Phil Nash
da6c2a6914
Fixed expansion of _FALSE binary expression
...
- see #1051
2017-10-13 19:44:20 +01:00
Dmitry Kozhevnikov
9c07718b5f
Update handling of __JETBRAINS_IDE__ macro
...
1. Use it to conditionally define CATCH_INTERNAL_CONFIG_COUNTER, not
CATCH_CONFIG_COUNTER, as __JETBRAINS_IDE__ is similar to
compiler-provided macros, not to user-provided ones.
2. Since __COUNTER__ will work starting with CLion 2017.3, use it
when possible (and hopefully remove this check altogether
at some point).
2017-09-07 18:00:04 +02:00
solvingj
5ca44b6872
Minor - added header-only flag in conan
...
See header-only guidelines:
http://conanio.readthedocs.io/en/latest/howtos/header_only.html?highlight=header%20only
Its borderline cosmetic, but it does have a purpose.
2017-08-28 12:18:54 +02:00
Sam Bristow
a04bd6d436
Remove duplicate CLI option
...
The "use-colour" option was accidentally duplicated as part of commit
feaf355
(Implemented libidentify support).
2017-08-28 12:16:23 +02:00
Martin Hořeňovský
784f6dfb34
Fix updateVcpkgPackage
2017-08-27 11:43:55 +02:00
Martin Hořeňovský
7818e2666d
v1.10.0
2017-08-26 15:34:18 +02:00
Martin Hořeňovský
cd30dd1a70
Workaround raw string literal bug in VS2017
2017-08-26 15:14:27 +02:00
Phil Nash
8e8c0c1675
Tweaked how failedButOk assertions are recorded
...
- fixes issue where sections in !shouldfail or !mayfail test cases that have failing assertions where marked as failed instead of failedButOk
2017-08-25 11:37:49 +01:00
Phil Nash
b6e7c9bd7a
Specialise removeConst for nullptr
2017-08-24 23:07:44 +02:00
Phil Nash
180d9242f5
Suppress more signed/ unsigned mismatches during Evaluator calls on MSVC
2017-08-24 23:07:03 +02:00
Phil Nash
b7bd52cc98
Cherry-picked "evaluate" refactoring from dev-modernize branch
...
- fixed up NULL comparisons to allow for NULL being a long
- should address #981
2017-08-24 23:07:03 +02:00
Martin Hořeňovský
b07a2bdf87
Refactor release scripts, automatically update Wandbox on release
2017-08-24 21:59:06 +02:00
Martin Hořeňovský
c03e8fce92
Explicitly ignore return value of getchar
...
This silences MSVC warning about ignored return value
2017-08-22 22:06:37 +02:00
Phil Nash
27640a5a96
Added Clara and TextFlowCpp to open source users
2017-08-17 10:49:56 +01:00
Phil Nash
dd3867bbcd
Create CODE_OF_CONDUCT.md
2017-08-17 07:45:12 +01:00
Phil Nash
387f8d254d
Removed unnecessary single quotes
2017-08-15 19:41:46 +01:00
Phil Nash
c65eccd68e
Added --libidentify and --wait-for-keypress to docs
2017-08-15 19:39:38 +01:00
Phil Nash
61c5675c11
Removed inadvertent use of auto merged from dev-modernise
2017-08-15 19:34:10 +01:00
Phil Nash
70e4af9d44
Implemented wait-for-keypress option
2017-08-15 14:12:11 +01:00
Monocasual
8f41bdb92d
Add open-source user
2017-08-13 17:55:50 +02:00
Phil Nash
7fa5d9ca94
Removed redundant processName argument from libIdentify call
2017-08-11 22:03:09 +01:00
Phil Nash
feaf355489
Implemented libidentify support
...
- see https://github.com/janwilmans/LibIdentify
2017-08-11 19:55:55 +01:00
Martin Hořeňovský
2ce6c74f8f
v1.9.7
2017-08-11 00:01:20 +02:00
Phil Nash
9688891868
Fix issue with fatal errors and non-failing assertions
...
Fixes #990
2017-08-10 21:44:54 +02:00
Martin Hořeňovský
4f21bb72ff
Add tests for #961
2017-08-10 21:38:07 +02:00