Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/onqtam/doctest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md31
-rw-r--r--doc/html_generated/configuration.html5
-rw-r--r--doc/html_generated/features.html13
-rw-r--r--doc/html_generated/roadmap.html2
-rw-r--r--doctest/doctest.h2
-rw-r--r--doctest/parts/doctest_fwd.h2
-rw-r--r--examples/all_features/test_output/version.txt2
-rw-r--r--examples/all_features/test_output/version_xml.txt2
-rw-r--r--meson.build2
-rw-r--r--scripts/release_process.md4
-rw-r--r--scripts/version.txt2
11 files changed, 50 insertions, 17 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f969e848..5cba5857 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,36 @@
# Change Log
+## [2.4.8](https://github.com/doctest/doctest/tree/2.4.8) (2022-01-10)
+[Full Changelog](https://github.com/doctest/doctest/compare/2.4.7...2.4.8)
+
+**Closed issues:**
+
+- \[meta\] Change git tagging pattern [\#579](https://github.com/doctest/doctest/issues/579)
+- TEST\_CASE\_TEMPLATE causes "-Wunused-local-typedef" warning on Clang [\#577](https://github.com/doctest/doctest/issues/577)
+- Regression between 2.4.6 and 2.4.7 with Visual Studio 2015 [\#573](https://github.com/doctest/doctest/issues/573)
+- Regression between 2.4.6 and 2.4.7 [\#571](https://github.com/doctest/doctest/issues/571)
+- Compilation error on MSVS2019 with ClangCL [\#570](https://github.com/doctest/doctest/issues/570)
+- Compilation errors on MSVC 2015 after doctest update to 2.4.7 [\#568](https://github.com/doctest/doctest/issues/568)
+- `g\_oss` is causing incorrect stringification results [\#567](https://github.com/doctest/doctest/issues/567)
+- MSVC warnings leak through when using the library as a single header with /Wall [\#565](https://github.com/doctest/doctest/issues/565)
+- \[PROJECT ANNOUNCEMENT\] Looking for maintainers for Doctest [\#554](https://github.com/doctest/doctest/issues/554)
+- Is this still maintained? [\#537](https://github.com/doctest/doctest/issues/537)
+- \[Feature request\] CHECK could return the value of expression [\#496](https://github.com/doctest/doctest/issues/496)
+- Feature: check or return false [\#426](https://github.com/doctest/doctest/issues/426)
+- Undefined reference of `operator\<\<\(ostream&, const string&\)` when compiling with clang 10 and libc++ 10 on Ubuntu 16.04.6 LTS [\#356](https://github.com/doctest/doctest/issues/356)
+- Doctest is not able to compile on OSX [\#126](https://github.com/doctest/doctest/issues/126)
+
+**Merged pull requests:**
+
+- Continuous Integration Refactor [\#580](https://github.com/doctest/doctest/pull/580) ([Saalvage](https://github.com/Saalvage))
+- Fix semicolon enforcement [\#578](https://github.com/doctest/doctest/pull/578) ([Saalvage](https://github.com/Saalvage))
+- Fix unused variable 2 [\#576](https://github.com/doctest/doctest/pull/576) ([Saalvage](https://github.com/Saalvage))
+- Alternative approach to Windows color initialization [\#575](https://github.com/doctest/doctest/pull/575) ([Saalvage](https://github.com/Saalvage))
+- Assertions returning booleans [\#574](https://github.com/doctest/doctest/pull/574) ([Saalvage](https://github.com/Saalvage))
+- Fix the thread-local string-stream [\#569](https://github.com/doctest/doctest/pull/569) ([Saalvage](https://github.com/Saalvage))
+- Clean up warning suppression a bit; Fixes \#565 [\#566](https://github.com/doctest/doctest/pull/566) ([Saalvage](https://github.com/Saalvage))
+- Add Universal Windows Platform support [\#558](https://github.com/doctest/doctest/pull/558) ([isaevil](https://github.com/isaevil))
+
## [2.4.7](https://github.com/doctest/doctest/tree/2.4.7) (2021-12-10)
[Full Changelog](https://github.com/doctest/doctest/compare/2.4.6...2.4.7)
diff --git a/doc/html_generated/configuration.html b/doc/html_generated/configuration.html
index 23360263..8c8cbde5 100644
--- a/doc/html_generated/configuration.html
+++ b/doc/html_generated/configuration.html
@@ -36,6 +36,7 @@ Defining something ```globally``` means for every source file of the binary (exe
- [**```DOCTEST_CONFIG_NO_POSIX_SIGNALS```**](#doctest_config_no_posix_signals)
- [**```DOCTEST_CONFIG_INCLUDE_TYPE_TRAITS```**](#doctest_config_include_type_traits)
- [**```DOCTEST_CONFIG_NO_MULTI_LANE_ATOMICS```**](#doctest_config_no_multi_lane_atomics)
+- [**```DOCTEST_CONFIG_EVALUATE_ASSERTS_EVEN_WHEN_DISABLED```**](#doctest_config_evaluate_asserts_even_when_disabled)
For most people the only configuration needed is telling **doctest** which source file should host all the implementation code:
@@ -244,6 +245,10 @@ This can be defined both globally and in specific source files only.
This can be used to disable multi lane atomics. Multi lane atomics can speed up highly parallel use of assert statements, but have a small overhead for single threaded applications.
+### **```DOCTEST_CONFIG_EVALUATE_ASSERTS_EVEN_WHEN_DISABLED```**
+
+This can be used to evaluate asserts even when **```DOCTEST_CONFIG_DISABLE```** is used - this is useful when they are used in production code within if statements so that the condition continues to be evaluated.
+
---------------
[Home](readme.html#reference)
diff --git a/doc/html_generated/features.html b/doc/html_generated/features.html
index 1f048406..34688d70 100644
--- a/doc/html_generated/features.html
+++ b/doc/html_generated/features.html
@@ -19,7 +19,7 @@
- 0 warnings even with the most aggressive flags (on all tested compilers!!!)
- ```-Weverything -pedantic``` for **clang**
- ```-Wall -Wextra -pedantic``` and **>> over 35 <<** other warnings **not** covered by these flags for **GCC**!!! - see [**here**](../../scripts/cmake/common.cmake#L84)
- - ```/Wall``` for **MSVC** (except for: ```C4514```, ```C4571```, ```C4710```, ```C4711```)
+ - ```/Wall``` for **MSVC**
- doesn't error on unrecognized [**command line**](commandline.html) options and supports prefixes for interop with client command line parsing
- can set options [**procedurally**](main.html) and not deal with passing ```argc```/```argv``` from the command line
- doesn't leave warnings disabled after itself
@@ -29,18 +29,17 @@
**SOME OF THIS IS OUTDATED**
- Standards compliant **C++11** code - should work with any **C++11** capable compiler (use tag [**1.2.9**](https://github.com/doctest/doctest/tree/1.2.9) for C++98 and older compilers)
-- tested with **GCC**: **4.8**, **4.9**, **5**, **6**, **7**, **8**, **9**, **10**
-- tested with **Clang**: **3.5**, **3.6**, **3.7**, **3.8**, **3.9**, **4**, **5**, **6**, **7**, **8**, **9** (XCode 6+)
-- tested with **MSVC**: **2015**, **2017**, **2019** (also in 32 bit mode)
-- per-commit tested on [**travis**](https://travis-ci.org/doctest/doctest) and [**appveyor**](https://ci.appveyor.com/project/doctest/doctest) CI services
+- tested with **GCC**: **4.8**, **4.9**, **5**, **6**, **7**, **8**, **9**, **10**, **11**
+- tested with **Clang**: **3.5**, **3.6**, **3.7**, **3.8**, **3.9**, **4**, **5**, **6**, **7**, **8**, **9**, **10**, **11**, **12**, **13** (XCode 10+)
+- tested with **MSVC**: **2015**, **2017**, **2019**, **2022** (also in 32 bit mode)
+- per-commit tested on [**GitHub Actions**](https://github.com/doctest/doctest/actions)
- warnings as errors even on the most aggressive warning levels - see [**here**](../../scripts/cmake/common.cmake#L84)
- statically analyzed on the CI - [**Cppcheck**](http://cppcheck.sourceforge.net/) / [**Clang-Tidy**](https://clang.llvm.org/extra/clang-tidy/) / [**Coverity Scan**](https://scan.coverity.com/) / [**OCLint**](http://oclint.org/) / [**Visual Studio Analyzer**](https://docs.microsoft.com/en-us/visualstudio/code-quality/analyzing-c-cpp-code-quality-by-using-code-analysis)
- all tests have their output compared to reference output of a previous known good run
- all tests built and ran in **Debug**/**Release** modes
- all tests ran through **valgrind** under **Linux** (sadly [not under OSX](https://github.com/doctest/doctest/issues/11))
- all tests ran through **address**, **UB** and **thread** sanitizers under **Linux**/**OSX**
- - tests are ran in more than **150** different configurations on UNIX (Linux + OSX) on **travis** CI
- - tests are ran in a total of **14** different configurations on Windows on **appveyor** CI
+ - tests are ran in more than **300** different configurations on UNIX (Linux + OSX) & Windows
## Other features:
diff --git a/doc/html_generated/roadmap.html b/doc/html_generated/roadmap.html
index 4b27e3c2..a53622de 100644
--- a/doc/html_generated/roadmap.html
+++ b/doc/html_generated/roadmap.html
@@ -145,8 +145,6 @@ Planned features for future releases - order changes constantly... Also look thr
### Things that are very unlikely to enter the roadmap:
- rethink static code analysis suppressions - users shouldn't have to use the same flags for code which uses doctest macros/types
-- move the "react()" part (the one that throws for REQUIRE asserts - or for when "abort-after=<int>" is reached) to a function call in the while() part of the asserts
-- stop using underscores for the beginning of identifiers - the anonymous variables - against the standard...
- templated fixture test cases
- test with missed warning flags for GCC
- https://github.com/Barro/compiler-warnings
diff --git a/doctest/doctest.h b/doctest/doctest.h
index eeef2f4a..d25f5268 100644
--- a/doctest/doctest.h
+++ b/doctest/doctest.h
@@ -48,7 +48,7 @@
#define DOCTEST_VERSION_MAJOR 2
#define DOCTEST_VERSION_MINOR 4
-#define DOCTEST_VERSION_PATCH 7
+#define DOCTEST_VERSION_PATCH 8
// util we need here
#define DOCTEST_TOSTR_IMPL(x) #x
diff --git a/doctest/parts/doctest_fwd.h b/doctest/parts/doctest_fwd.h
index 71ddf341..b0d786fd 100644
--- a/doctest/parts/doctest_fwd.h
+++ b/doctest/parts/doctest_fwd.h
@@ -45,7 +45,7 @@
#define DOCTEST_VERSION_MAJOR 2
#define DOCTEST_VERSION_MINOR 4
-#define DOCTEST_VERSION_PATCH 7
+#define DOCTEST_VERSION_PATCH 8
// util we need here
#define DOCTEST_TOSTR_IMPL(x) #x
diff --git a/examples/all_features/test_output/version.txt b/examples/all_features/test_output/version.txt
index c7d071c3..bb097ad9 100644
--- a/examples/all_features/test_output/version.txt
+++ b/examples/all_features/test_output/version.txt
@@ -1 +1 @@
-[doctest] doctest version is "2.4.7"
+[doctest] doctest version is "2.4.8"
diff --git a/examples/all_features/test_output/version_xml.txt b/examples/all_features/test_output/version_xml.txt
index 5dbd5004..c8a02631 100644
--- a/examples/all_features/test_output/version_xml.txt
+++ b/examples/all_features/test_output/version_xml.txt
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
-<doctest binary="all_features" version="2.4.7">
+<doctest binary="all_features" version="2.4.8">
<Options order_by="file" rand_seed="324" first="0" last="4294967295" abort_after="0" subcase_filter_levels="2147483647" case_sensitive="false" no_throw="false" no_skip="false"/>
</doctest>
diff --git a/meson.build b/meson.build
index 86e28d11..4caf2924 100644
--- a/meson.build
+++ b/meson.build
@@ -1,4 +1,4 @@
-project('doctest', ['cpp'], version: '2.4.7', meson_version:'>=0.50')
+project('doctest', ['cpp'], version: '2.4.8', meson_version:'>=0.50')
doctest_dep = declare_dependency(include_directories: include_directories('doctest'))
diff --git a/scripts/release_process.md b/scripts/release_process.md
index c247e716..8771d4b8 100644
--- a/scripts/release_process.md
+++ b/scripts/release_process.md
@@ -1,9 +1,9 @@
- update version in version.txt (following semver)
- run update_stuff.py from the scripts folder
-- regenerate test output
+- regenerate test output (actually only the `version` test's output changes and that was done to maximize code coverage - might remove it to simplify the release process)
- first run cmake with -DDOCTEST_TEST_MODE=COLLECT
- then run ctest & git add the changed and/or new .txt files
-- run update_changelog.py to update the changelog based on the closed issues & PRs
+- run update_changelog.py to update the changelog based on the closed issues & PRs (uses github changelog generator)
- might need credentials/access tokens
- might need a tmp folder in the root drive (C or D) if on Windows
- commit in dev
diff --git a/scripts/version.txt b/scripts/version.txt
index 48a6b508..752a79ef 100644
--- a/scripts/version.txt
+++ b/scripts/version.txt
@@ -1 +1 @@
-2.4.7 \ No newline at end of file
+2.4.8 \ No newline at end of file