Skip to content

Commit

Permalink
version 2.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
onqtam committed Dec 16, 2020
1 parent 5c2b8c3 commit 352589e
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,12 @@
# Change Log

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

**Closed issues:**

- 2.4.2: build fails [\#450](https://github.com/onqtam/doctest/issues/450)

## [2.4.2](https://github.com/onqtam/doctest/tree/2.4.2) (2020-12-15)
[Full Changelog](https://github.com/onqtam/doctest/compare/2.4.1...2.4.2)

Expand Down
6 changes: 4 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 2
#define DOCTEST_VERSION_STR "2.4.2"
#define DOCTEST_VERSION_PATCH 3
#define DOCTEST_VERSION_STR "2.4.3"

#define DOCTEST_VERSION \
(DOCTEST_VERSION_MAJOR * 10000 + DOCTEST_VERSION_MINOR * 100 + DOCTEST_VERSION_PATCH)
Expand Down Expand Up @@ -3323,6 +3323,7 @@ DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH("-Wnull-dereference")
DOCTEST_GCC_SUPPRESS_WARNING_WITH_PUSH("-Wnull-dereference")
// depending on the current options this will remove the path of filenames
const char* skipPathFromFilename(const char* file) {
#ifndef DOCTEST_CONFIG_DISABLE
if(getContextOptions()->no_path_in_filenames) {
auto back = std::strrchr(file, '\\');
auto forward = std::strrchr(file, '/');
Expand All @@ -3332,6 +3333,7 @@ const char* skipPathFromFilename(const char* file) {
return forward + 1;
}
}
#endif // DOCTEST_CONFIG_DISABLE
return file;
}
DOCTEST_CLANG_SUPPRESS_WARNING_POP
Expand Down
2 changes: 2 additions & 0 deletions doctest/parts/doctest.cpp
Expand Up @@ -666,6 +666,7 @@ DOCTEST_CLANG_SUPPRESS_WARNING_WITH_PUSH("-Wnull-dereference")
DOCTEST_GCC_SUPPRESS_WARNING_WITH_PUSH("-Wnull-dereference")
// depending on the current options this will remove the path of filenames
const char* skipPathFromFilename(const char* file) {
#ifndef DOCTEST_CONFIG_DISABLE
if(getContextOptions()->no_path_in_filenames) {
auto back = std::strrchr(file, '\\');
auto forward = std::strrchr(file, '/');
Expand All @@ -675,6 +676,7 @@ const char* skipPathFromFilename(const char* file) {
return forward + 1;
}
}
#endif // DOCTEST_CONFIG_DISABLE
return file;
}
DOCTEST_CLANG_SUPPRESS_WARNING_POP
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 2
#define DOCTEST_VERSION_STR "2.4.2"
#define DOCTEST_VERSION_PATCH 3
#define DOCTEST_VERSION_STR "2.4.3"

#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.2"
[doctest] doctest version is "2.4.3"
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.2">
<doctest binary="all_features" version="2.4.3">
<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.2', meson_version:'>=0.50')
project('doctest', ['cpp'], version: '2.4.3', 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.2
2.4.3

0 comments on commit 352589e

Please sign in to comment.