v3.6.0
版本发布时间: 2024-05-06 03:10:48
catchorg/Catch2最新发布版本:v3.7.1(2024-09-17 16:50:49)
Fixes
- Fixed Windows ARM64 build by fixing the preprocessor condition guarding use
_umul128
intrinsic. - Fixed Windows ARM64EC build by removing intrinsic pragma it does not understand. (#2858)
- Why doesn't the x64-emulation build mode understand x64 pragmas? Don't ask me, ask the MSVC guys.
- Fixed the JUnit reporter sometimes crashing when reporting a fatal error. (#1210, #2855)
- The binary will still exit, but through the original error, rather than secondary error inside the reporter.
- The underlying fix applies to all reporters, not just the JUnit one, but only JUnit was currently causing troubles.
Improvements
- Disable
-Wnon-virtual-dtor
in Decomposer and Matchers (#2854) -
precision
in floating point stringmakers defaults tomax_digits10
.- This means that floating point values will be printed with enough precision to disambiguate any two floats.
- Column wrapping ignores ansi colour codes when calculating string width (#2833, #2849)
- This makes the output much more readable when the provided messages contain colour codes.
Miscellaneous
- Conan support improvements
-
compatibility_cppstr
is set to False. (#2860)- This means that Conan won't let you mix library and project with different C++ standard settings.
- The implementation library CMake target name through Conan is properly set to
Catch2::Catch2
(#2861)
-
-
SelfTest
target can be built through Bazel (#2857)
1、 catch_amalgamated.cpp 405.3KB
2、 catch_amalgamated.cpp.asc 833B
3、 catch_amalgamated.hpp 509.03KB
4、 catch_amalgamated.hpp.asc 833B