Cleanups output normalization in ApprovalTests

Removed:
 * NaN normalization
 * INFINITY normalization
 * errno normalization
 * Completely unused duration regex

Tests using these macros should be tagged `[approvals]`
so they are not run as part of approval tests.

Also simplified regex for the test's executable filename,
and hidden some tests relying on nullptr normalization.
This commit is contained in:
Martin Hořeňovský committed 2022-01-27 21:11:51 +01:00
1 parent d861e73f86
commit 4ff8b27bb6
22 files changed
+55 -264

No files matched your search

@@ -54,7 +54,7 @@ due to unexpected exception with messages:
expected exception
-------------------------------------------------------------------------------
#835 -- errno should not be touched by Catch
#835 -- errno should not be touched by Catch2
-------------------------------------------------------------------------------
Misc.tests.cpp:<line number>
...............................................................................
@@ -1395,6 +1395,6 @@ due to unexpected exception with message:
Why would you throw a std::string?
===============================================================================
test cases: 383 | 307 passed | 69 failed | 7 failed as expected
assertions: 2212 | 2057 passed | 128 failed | 27 failed as expected
test cases: 381 | 305 passed | 69 failed | 7 failed as expected
assertions: 2209 | 2054 passed | 128 failed | 27 failed as expected