diff options
author | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2018-10-25 15:08:13 +0200 |
---|---|---|
committer | Liang Qi <liang.qi@qt.io> | 2018-11-19 11:45:38 +0000 |
commit | e00c73911ae0127f986e056984eff02b099325f4 (patch) | |
tree | d2ec290db934ef0355915bf2385ee21ed3326167 /src/corelib/global/qconfig-bootstrapped.h | |
parent | ca3ac2e1c7548f2e66561fb0afe93494416ebf9c (diff) |
Reduce run time of tst_QRegularExpression::threadSafety
This test was taking so much time that it regularly timed out on WinRT
and when running in qemu. Reduce it from around 40 to 7 seconds on a
powerful desktop.
Now it either runs for two full seconds for each test function or until
it has done 50 iterations.
Fixes: QTBUG-71405
Change-Id: If752c1e65d3b19009b883f64edc96d020df479d1
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
Diffstat (limited to 'src/corelib/global/qconfig-bootstrapped.h')
0 files changed, 0 insertions, 0 deletions