test suite reviews and discussions
 help / color / mirror / Atom feed
* [DTS][PATCH V1 0/2] fix result output overwriting when using multiple lines in execution configuration for one suite.
@ 2023-03-14  9:01 Ke Xu
  2023-03-14  9:01 ` [DTS][PATCH V1 1/2] framework/test_result: fix unsafe __set_test_case Ke Xu
  2023-03-14  9:01 ` [DTS][PATCH V1 2/2] framework/dts: fix result output by merging cases when parsing execution requirements Ke Xu
  0 siblings, 2 replies; 3+ messages in thread
From: Ke Xu @ 2023-03-14  9:01 UTC (permalink / raw)
  To: dts; +Cc: lijuan.tu, ke1.xu

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(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-03-14  9:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-14  9:01 [DTS][PATCH V1 0/2] fix result output overwriting when using multiple lines in execution configuration for one suite Ke Xu
2023-03-14  9:01 ` [DTS][PATCH V1 1/2] framework/test_result: fix unsafe __set_test_case Ke Xu
2023-03-14  9:01 ` [DTS][PATCH V1 2/2] framework/dts: fix result output by merging cases when parsing execution requirements Ke Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).