Skip to content

runner: create results incrementally

Kamil Konieczny igt-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v1 RFC2 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2runner: Add new option --save-results-after-each-testrunner/executor.c runner/settings.c runner/settings.h+15 -00 replies
2/2runner: Create results after each tests endrunner/executor.c runner/resultgen.c+64 -50 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchRyszard KnopVitaly Prosyak
SeriesR-b R-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH i-g-t v2 0/2] runner: create results incrementally

Create results incementally during run, e.g. after each test end
its execution create results.json up to last one executed.

One caveat is that it will still not hold last one at which sudden reboot happens, for example after a kernel panic.

In such cases there is still a need for calling igt_results to collect all data.

v2: rename option to --save-results-after-each-test (Ryszard)
renamed function to better describe it saves only partial results (Ryszard)
using results.old, not .bak (Kamil)
bailing out from saving when endtime cannot be saved (Kamil) reorder patches, first should be introducing new option, then using it (Kamil)

Cc Ewelina Musial <[email protected]>
Cc Ryszard Knop <[email protected]>
Cc Vitaly Prosyak <[email protected]>

Kamil Konieczny (2):
runner: Add new option --save-results-after-each-test
runner: Create results after each tests end

 runner/executor.c  | 68 +++++++++++++++++++++++++++++++++++++++++++---
 runner/resultgen.c |  6 +++-
 runner/settings.c  |  9 ++++++
 runner/settings.h  |  1 +
 4 files changed, 79 insertions(+), 5 deletions(-)
Signature · 1 line
2.55.0