Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJohn Zimmermann2020-12-31 16:24:16 +0100
committerMartin Hořeňovský2021-01-08 11:31:28 +0100
commitba8150516800dd5e18f818346a2a12c45b6ec542 (patch)
treedf2c7a2023f76ec1df20ad7944b69c02d9c6fb03
parentf5b413aa58c280cf425ebb6ce18424227c78202a (diff)
downloadcatch3-ba8150516800dd5e18f818346a2a12c45b6ec542.tar.gz
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.
-rwxr-xr-xtools/scripts/approvalTests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scripts/approvalTests.py b/tools/scripts/approvalTests.py
index f8b9425c..73e9b832 100755
--- a/tools/scripts/approvalTests.py
+++ b/tools/scripts/approvalTests.py
@@ -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\(\)\)
|