diff options
author | Petri Latvala <petri.latvala@intel.com> | 2018-09-19 14:49:10 +0300 |
---|---|---|
committer | Petri Latvala <petri.latvala@intel.com> | 2018-09-19 17:50:44 +0300 |
commit | ae8187922d8de2bc739519da3bd40cf5f03f5e4f (patch) | |
tree | 60168024376e3d39e17d4875805bc64481f781f9 /runner/executor.h | |
parent | d409cc6f234fbc0122c64be27ba85b5603658de5 (diff) |
runner: Flush igt_runner outputs before forking
If the output of igt_runner is piped or redirected, buffered prints
could be left lingering and read as test executable output if execv()
fails. This can happen easily if CI for example generates a testlist
with an incorrect binary name, or an optional test binary (say,
kms_chamelium) is not built for the deployment in question.
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Tomi Sarvela <tomi.p.sarvela@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'runner/executor.h')
0 files changed, 0 insertions, 0 deletions