diff options
author | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-04-01 08:57:22 +0300 |
---|---|---|
committer | Arkadiusz Hiler <arkadiusz.hiler@intel.com> | 2019-04-01 14:49:08 +0300 |
commit | 7cadc6105b00f8d8ef166929118a95ce69221603 (patch) | |
tree | 1c8a3f3f0fc6f7e5c0f9d3f64d5e50885b5e6029 /lib/igt_alsa.h | |
parent | 2b4ede5c974228d2dcf02a581a1c7548d1483c3f (diff) |
runner: Reinitialize compiled dmesg regexp each parsing session
Which regexp gets compiled is settings specific, depending whether we
run piglit-style or not.
If it's optimized to be initialized only once and it is a global
variable, it will be "stuck" in the mode we have selected with the first
run, which may break tests.
Let's remove this optimization and initialize it each time, as it takes
less 0.002s on my hardware.
Signed-off-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Simon Ser <simon.ser@intel.com>
Diffstat (limited to 'lib/igt_alsa.h')
0 files changed, 0 insertions, 0 deletions