mbox series

[V1,0/2] fix result output overwriting when using multiple lines in execution configuration for one suite.

Message ID 20230314090107.669640-1-ke1.xu@intel.com (mailing list archive)
Headers
Series fix result output overwriting when using multiple lines in execution configuration for one suite. |

Message

Ke Xu March 14, 2023, 9:01 a.m. UTC
In execution config, multi-run suites and cases are grammarly allowed.
 When we call for a suite multiple times, the new result will overwrite
 the old result totally.

Here we introduces two fixes.

1. We fix framework/test_result.Result.__set_test_case method for the non-checking appending.
2. We fix framework/dts.dts_parse_config method for de-duplicating suites and cases.

Ke Xu (2):
  framework/test_result: fix unsafe __set_test_case
  framework/dts: fix result setting by overwriting old result
    with new result

 framework/dts.py         | 25 ++++++++++++++++++++++++-
 framework/test_result.py |  5 +++--
 2 files changed, 27 insertions(+), 3 deletions(-)