mesa/src/intel/compiler/tests
Eric Engestrom de6ab1beda intel/compiler tests: rewrite subprocess handling in run-test.py
`subprocess.Popen()` returns immediately, and the subprocess might not
have finished by the time `stdout` is read on the next line, spuriously
failing the tests.

`subprocess.check_output()` makes sure the output is available before
returning, solving this issue; it additionally raises an error if the
subprocess failed, giving a better error than a failed diff later in the
script.

cc: mesa-stable

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34756>
2025-06-23 08:26:29 +00:00
..
gen9 brw: Rename shared function enums for clarity 2025-02-27 08:49:24 +00:00
gen11
gen12 brw: Rename shared function enums for clarity 2025-02-27 08:49:24 +00:00
gen12.5 brw: Rename shared function enums for clarity 2025-02-27 08:49:24 +00:00
run-test.py intel/compiler tests: rewrite subprocess handling in run-test.py 2025-06-23 08:26:29 +00:00