mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Add OSX specific INFINITE macro parsing in approval tests
This commit is contained in:
parent
22ac9d2184
commit
accf9859b4
@ -48,7 +48,9 @@ sinceEpochParser = re.compile(r'\d+ .+ since epoch')
|
|||||||
infParser = re.compile(r'''
|
infParser = re.compile(r'''
|
||||||
\(\(float\)\(1e\+300\ \*\ 1e\+300\)\) # MSVC INFINITY macro
|
\(\(float\)\(1e\+300\ \*\ 1e\+300\)\) # MSVC INFINITY macro
|
||||||
|
|
|
|
||||||
\(__builtin_inff\(\)\) # Clang INFINITY macro
|
\(__builtin_inff\(\)\) # Linux (ubuntu) INFINITY macro
|
||||||
|
|
|
||||||
|
__builtin_huge_valf\(\) # OSX macro
|
||||||
''', re.VERBOSE)
|
''', re.VERBOSE)
|
||||||
|
|
||||||
if len(sys.argv) == 2:
|
if len(sys.argv) == 2:
|
||||||
|
Loading…
Reference in New Issue
Block a user