intel/tools: Use subprocess.Popen to read output directly from a pipe
authorMichel Dänzer <mdaenzer@redhat.com>
Fri, 5 Mar 2021 16:49:03 +0000 (17:49 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 19 Mar 2021 08:50:37 +0000 (08:50 +0000)
commit05bf12ccb6f290c701ef5b84a7c46e7818bf2c3e
tree79d8b47abcfbd7e9eb70f45bbf83a62622741cd2
parentf0c8c6581c0d08f03e9a638997bf2806a526e40d
intel/tools: Use subprocess.Popen to read output directly from a pipe

Instead of using tempfiles to communicate between child & parent
process. The latter sometimes resulted in hitting the meson timeout if
there was high filesystem pressure.

Fixes: ccaa5b034f48 "intel/tools: rewrite run-test.sh in python"
Reviewed-by: Dylan Baker <dylan.c.baker@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9528>
src/intel/tools/tests/run-test.py