Skip to content

Commit

Permalink
Fix recognizing fractional logs with more than 9 fractions
Browse files Browse the repository at this point in the history
Allow multiple digits for x and y in "TestResults-arch-x-of-y.qpa". This
fixes validation for conformance packages with more than 9 fractions as
was recently allowed.
  • Loading branch information
cwabbott0 committed Oct 21, 2024
1 parent 5394879 commit 11b7d20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def getPackageDescription (report, verification):
if reobj.match(log) == None:
report.failure("Test log name does not conform to --deqp-fraction option", log)
for log in testLogs:
prefix = re.split("(\d-of-\d)+", log)[0]
prefix = re.split("(\d+-of-\d+)+", log)[0]
if prefix in testLogsFraction:
fractionLogs = testLogsFraction[prefix]
else:
Expand Down

0 comments on commit 11b7d20

Please sign in to comment.