You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[llvm][lit] Make Xunit time test regex less strict
I got a report that downstream this test failed and the cause was
that it took longer than the 1 second we expected to run one of the
test cases.
There's no reason for this test to be that specific, so I've changed
all the [0-1] to [0-9]+. This test does not care whether the times make
any sense, only that they exist.
A couple exisitng regex here make the decimal point optional, and on my
machine I always seem to get `.00`. So I think they are always finding
a decimal point anyway.
I've left them just on the slim chance that some platform happens
to print that time as a single number if it's a whole number of seconds.
0 commit comments