Skip to content
Commit aa2b8a1b authored by Andy Ross's avatar Andy Ross Committed by Anas Nashif
Browse files

scripts/sanitycheck: Precompile test-time regular expressions



The Harness handlers for tests were parsing the realtime stream out of
qemu pipes by recompiling and executing every regex for every line (!)
of output from the simulator.  That's a significant CPU load, and it's
(1) in a separate thread not tracked by the JOBS limit and (2)
happening at the worst possible time and contending with the qemu
process for host CPU cycles that it needs to hit its (real world)
timer targets on time.

Compile them just once, please.

Signed-off-by: default avatarAndy Ross <andrew.j.ross@intel.com>
parent 7fdb5257
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment