diff options
| author | Petri Latvala <petri.latvala@intel.com> | 2020-01-14 11:17:42 +0200 |
|---|---|---|
| committer | Petri Latvala <petri.latvala@intel.com> | 2020-01-16 13:34:15 +0200 |
| commit | 3cee4337dd09ef722e2c150827341bb846c59b0f (patch) | |
| tree | e4945be43eb5488090f57e5129a3a1515eeb3ab2 /runner | |
| parent | 58bd458bf16b474fdaae5c2cac14dc7c974cdd17 (diff) | |
lib: Don't dump log buffer when dynamic subtest failure is inherited
A subtest with dynamic subparts will automatically fail if any dynamic
subparts fail. Failing a subtest will dump our log buffer, which is
useful in normal cases, but when it's just the actual subtest
inheriting the failure from a dynamic subtest, nothing in the log
buffer is of any use for the failure.
Dynamic subtest parsing will stuff all output after the last dynamic
subtest into that last dynamic subtest's output, and in the case of
that last dynamic subtest itself being a 'SUCCESS', that extra output
from dumping the log buffer will cause an innocent dynamic subtest to
be incorrectly marked as a 'WARN' result.
Issue: https://gitlab.freedesktop.org/drm/igt-gpu-tools/issues/66
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
Cc: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>
Diffstat (limited to 'runner')
0 files changed, 0 insertions, 0 deletions
