mirror of
https://github.com/google/benchmark.git
synced 2024-11-26 07:32:19 +00:00
Make output tests more stable on slow machines.
The appveyor bot sometimes fails because the time it outputs is 6 digits long, but the output test regex expects at most 5 digits. This patch increases the size to 6 digits to placate the test. This should not *really* affect the correctness of the test.
This commit is contained in:
parent
562f9d256d
commit
dd8dcc8da1
|
@ -40,8 +40,8 @@ SubMap& GetSubstitutions() {
|
||||||
{"%hrfloat", "[0-9]*[.]?[0-9]+([eE][-+][0-9]+)?[kMGTPEZYmunpfazy]?"},
|
{"%hrfloat", "[0-9]*[.]?[0-9]+([eE][-+][0-9]+)?[kMGTPEZYmunpfazy]?"},
|
||||||
{"%int", "[ ]*[0-9]+"},
|
{"%int", "[ ]*[0-9]+"},
|
||||||
{" %s ", "[ ]+"},
|
{" %s ", "[ ]+"},
|
||||||
{"%time", "[ ]*[0-9]{1,5} ns"},
|
{"%time", "[ ]*[0-9]{1,6} ns"},
|
||||||
{"%console_report", "[ ]*[0-9]{1,5} ns [ ]*[0-9]{1,5} ns [ ]*[0-9]+"},
|
{"%console_report", "[ ]*[0-9]{1,6} ns [ ]*[0-9]{1,6} ns [ ]*[0-9]+"},
|
||||||
{"%console_us_report", "[ ]*[0-9] us [ ]*[0-9] us [ ]*[0-9]+"},
|
{"%console_us_report", "[ ]*[0-9] us [ ]*[0-9] us [ ]*[0-9]+"},
|
||||||
{"%csv_header",
|
{"%csv_header",
|
||||||
"name,iterations,real_time,cpu_time,time_unit,bytes_per_second,"
|
"name,iterations,real_time,cpu_time,time_unit,bytes_per_second,"
|
||||||
|
|
Loading…
Reference in a new issue