Skip to content

Commit

Permalink
version 2.4.5
Browse files Browse the repository at this point in the history
  • Loading branch information
onqtam committed Feb 2, 2021
1 parent ba32eb4 commit f0ab4e7
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 9 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,22 @@
# Change Log

## [2.4.5](https://github.com/onqtam/doctest/tree/2.4.5) (2021-02-02)
[Full Changelog](https://github.com/onqtam/doctest/compare/2.4.4...2.4.5)

**Closed issues:**

- Use of std::atomic can slow down multithreaded tests [\#452](https://github.com/onqtam/doctest/issues/452)
- compilation issue in MSVC when defining DOCTEST_THREAD_LOCAL to static [\#458](https://github.com/onqtam/doctest/issues/458)
- nvcc compiler warning; doctest.h(4138): warning : expression has no effect [\#454](https://github.com/onqtam/doctest/issues/454)
- Stack buffer overflow in `String` constructor [\#460](https://github.com/onqtam/doctest/issues/460)
- Surpress warnings from clang-tidy [\#459](https://github.com/onqtam/doctest/issues/459)

**Merged pull requests:**

- Fix compilation on case-sensitive filesystems [\#463](https://github.com/onqtam/doctest/pull/463) ([jhasse](https://github.com/onqtam/jhasse))
- Use function-like macros for prefixless macro names [\#462](https://github.com/onqtam/doctest/pull/462) ([tbleher](https://github.com/tbleher))
- Implement a multi lane atomic for assertion counts [\#453](https://github.com/onqtam/doctest/pull/453) ([martinus](https://github.com/martinus))

## [2.4.4](https://github.com/onqtam/doctest/tree/2.4.4) (2020-12-25)
[Full Changelog](https://github.com/onqtam/doctest/compare/2.4.3...2.4.4)

Expand Down
2 changes: 1 addition & 1 deletion doc/html_generated/commandline.html
Expand Up @@ -37,7 +37,7 @@
| ```-sce``` ```--subcase-exclude=<filters>``` | Same as ```--test-case-exclude=<filters>``` but filters based on subcase names |
| ```-r``` ```--reporters=<filters>``` | List of [**reporters**](reporters.html) to use (default is ```console```) |
| ```-o``` &nbsp; ```--out=<string>``` | Output filename |
| ```-ob``` &nbsp; ```--order-by=<string>``` | Test cases will be sorted before being executed either by **the file in which they are** / **the test suite they are in** / **their name** / **random**. The possible values of ```<string>``` are ```file```/```suite```/```name```/```rand```. The default is ```file```. **NOTE: the order produced by the ```file```, ```suite``` and ```name``` options is compiler-dependent and might differ depending on the compiler used.** |
| ```-ob``` &nbsp; ```--order-by=<string>``` | Test cases will be sorted before being executed either by **the file in which they are** / **the test suite they are in** / **their name** / **random**. The possible values of ```<string>``` are ```file```/```suite```/```name```/```rand```/```none```. The default is ```file```. **NOTE: the order produced by the ```file```, ```suite``` and ```name``` options is compiler-dependent and might differ depending on the compiler used.** |
| ```-rs``` &nbsp; ```--rand-seed=<int>``` | The seed for random ordering |
| ```-f``` &nbsp;&nbsp;&nbsp; ```--first=<int>``` | The **first** test case to execute which passes the current filters - for range-based execution - see [**the example python script**](../../examples/range_based_execution.py) |
| ```-l``` &nbsp;&nbsp;&nbsp; ```--last=<int>``` | The **last** test case to execute which passes the current filters - for range-based execution - see [**the example python script**](../../examples/range_based_execution.py) |
Expand Down
2 changes: 2 additions & 0 deletions doc/html_generated/testcases.html
Expand Up @@ -125,6 +125,8 @@
Multiple decorators can be used at the same time. These are the currently supported decorators:

- **```skip(bool = true)```** - marks the test case to be skipped from execution - unless the ```--no-skip``` option is used
- **```no_breaks(bool = true)```** - no breaking into the debugger for asserts in the test case - useful in combination with `may_fail`/`should_fail`/`expected_failures`
- **```no_output(bool = true)```** - no output from asserts in the test case - useful in combination with `may_fail`/`should_fail`/`expected_failures`
- **```may_fail(bool = true)```** - doesn't fail the test if any given assertion fails (but still reports it) - this can be useful to flag a work-in-progress, or a known issue that you don't want to immediately fix but still want to track in the your tests
- **```should_fail(bool = true)```** - like **```may_fail()```** but fails the test if it passes - his can be useful if you want to be notified of accidental, or third-party, fixes
- **```expected_failures(int)```** - defines the number of assertions that are expected to fail within the test case - reported as failure when the number of failed assertions is different than the declared expected number of failures
Expand Down
4 changes: 2 additions & 2 deletions doctest/doctest.h
Expand Up @@ -48,8 +48,8 @@

#define DOCTEST_VERSION_MAJOR 2
#define DOCTEST_VERSION_MINOR 4
#define DOCTEST_VERSION_PATCH 4
#define DOCTEST_VERSION_STR "2.4.4"
#define DOCTEST_VERSION_PATCH 5
#define DOCTEST_VERSION_STR "2.4.5"

#define DOCTEST_VERSION \
(DOCTEST_VERSION_MAJOR * 10000 + DOCTEST_VERSION_MINOR * 100 + DOCTEST_VERSION_PATCH)
Expand Down
4 changes: 2 additions & 2 deletions doctest/parts/doctest_fwd.h
Expand Up @@ -45,8 +45,8 @@

#define DOCTEST_VERSION_MAJOR 2
#define DOCTEST_VERSION_MINOR 4
#define DOCTEST_VERSION_PATCH 4
#define DOCTEST_VERSION_STR "2.4.4"
#define DOCTEST_VERSION_PATCH 5
#define DOCTEST_VERSION_STR "2.4.5"

#define DOCTEST_VERSION \
(DOCTEST_VERSION_MAJOR * 10000 + DOCTEST_VERSION_MINOR * 100 + DOCTEST_VERSION_PATCH)
Expand Down
2 changes: 1 addition & 1 deletion examples/all_features/test_output/version.txt
@@ -1 +1 @@
[doctest] doctest version is "2.4.4"
[doctest] doctest version is "2.4.5"
2 changes: 1 addition & 1 deletion 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.4">
<doctest binary="all_features" version="2.4.5">
<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>
2 changes: 1 addition & 1 deletion meson.build
@@ -1,2 +1,2 @@
project('doctest', ['cpp'], version: '2.4.4', meson_version:'>=0.50')
project('doctest', ['cpp'], version: '2.4.5', meson_version:'>=0.50')
doctest_dep = declare_dependency(include_directories: include_directories('doctest'))
2 changes: 1 addition & 1 deletion scripts/version.txt
@@ -1 +1 @@
2.4.4
2.4.5

0 comments on commit f0ab4e7

Please sign in to comment.