summaryrefslogtreecommitdiff
path: root/runner/executor.c
diff options
context:
space:
mode:
authorArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-04-01 08:57:22 +0300
committerArkadiusz Hiler <arkadiusz.hiler@intel.com>2019-04-01 14:49:08 +0300
commit7cadc6105b00f8d8ef166929118a95ce69221603 (patch)
tree1c8a3f3f0fc6f7e5c0f9d3f64d5e50885b5e6029 /runner/executor.c
parent2b4ede5c974228d2dcf02a581a1c7548d1483c3f (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 'runner/executor.c')
0 files changed, 0 insertions, 0 deletions