Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

Add another MSVC NAN macro

Commit
cecee3459ac4fbcb6c77c8d38ac817dd48d294b8
Author
Martin Hořeňovský ·
Parents
030321e3e0fc

Files · Download .tar.gz

Changes

 scripts/approvalTests.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/scripts/approvalTests.py b/scripts/approvalTests.py
index 04a7ad57..09fff7c7 100755
--- a/scripts/approvalTests.py
+++ b/scripts/approvalTests.py
@@ -55,6 +55,8 @@ infParser = re.compile(r'''
 nanParser = re.compile(r'''
     \(\(float\)\(\(\(float\)\(1e\+300\ \*\ 1e\+300\)\)\ \*\ 0\.0F\)\) # MSVC NAN macro
     |
+    \(\(float\)\(INFINITY\ \*\ 0\.0F\)\) # Yet another MSVC NAN macro
+    |
     \(__builtin_nanf\ \(""\)\)                 # Linux (ubuntu) NAN macro
 ''', re.VERBOSE)