mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 05:16:10 +01:00
Do not match exact amount of spaces for errno macro expansion in approvalTests.py
E.g. musl libc expands errno() to __errno_location() without a space between, glibc has 1 space.
This commit is contained in:
parent
f5b413aa58
commit
ba81505168
@ -44,7 +44,7 @@ specialCaseParser = re.compile(r'file\((\d+)\)')
|
||||
|
||||
# errno macro expands into various names depending on platform, so we need to fix them up as well
|
||||
errnoParser = re.compile(r'''
|
||||
\(\*__errno_location\ \(\)\)
|
||||
\(\*__errno_location\s*\(\)\)
|
||||
|
|
||||
\(\*__error\(\)\)
|
||||
|
|
||||
|
Loading…
Reference in New Issue
Block a user