Skip to content

Commit

Permalink
Added captures to errnoParser and nanParser as these were not capturi…
Browse files Browse the repository at this point in the history
…ng correctly on my machine.
  • Loading branch information
DanielPBak committed Jun 6, 2019
1 parent 1985480 commit f7af815
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/approvalTests.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
\(\*__error\(\)\)
|
\(\*_errno\(\)\)
|
\(\*__errno\(\)\)
''', re.VERBOSE)
sinceEpochParser = re.compile(r'\d+ .+ since epoch')
infParser = re.compile(r'''
Expand All @@ -66,6 +68,8 @@
|
\(__builtin_nanf\ \(""\)\) # Linux (ubuntu) NAN macro
|
\(__builtin_nanf \(""\)\)
|
__builtin_nanf\("0x<hex\ digits>"\) # The weird content of the brackets is there because a different parser has already ran before this one
''', re.VERBOSE)

Expand Down

0 comments on commit f7af815

Please sign in to comment.