Skip to content

Commit

Permalink
fix(ci): Fix an ill-defined regex in valgrind_check_error.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NoelGraf authored and jpfr committed Jan 21, 2024
1 parent b9a4581 commit 7f97400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/valgrind_check_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def execute(command):

# Try to parse the output. Look for the following line:
# ==17054== FILE DESCRIPTORS: 5 open at exit.
descriptors_re = re.compile(r".*==(\d+)==\s+FILE DESCRIPTORS: (\d+) open at exit\..*")
descriptors_re = re.compile(r".*==(\d+)==\s+FILE DESCRIPTORS: (\d+) open(\s\(\d std\))? at exit\..*")
m = descriptors_re.match(log_content)

if not m:
Expand Down

0 comments on commit 7f97400

Please sign in to comment.