Re: [PATCH i-g-t RFC v1 0/2] runner: create results incrementally
Gustavo Sousa <[email protected]>
| Newsgroups | org.freedesktop.lists.igt-dev |
|---|---|
| Message-ID | <[email protected]> |
Kamil Konieczny <[email protected]> writes: > 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. > > Cc: Ewelina Musial <[email protected]> > Cc: Ryszard Knop <[email protected]> > Cc: Vitaly Prosyak <[email protected]> An alternative option would be implementing this as a built-in hook that the user could activate, e.g.: igt_runner --hook 'post-test:builtin:gen-results' -- Gustavo Sousa > > Kamil Konieczny (2): > runner: Create results after each tests end > runner: Create new option for incremental results > > runner/executor.c | 57 ++++++++++++++++++++++++++++++++++++++++++---- > runner/resultgen.c | 6 ++++- > runner/settings.c | 8 +++++++ > runner/settings.h | 1 + > 4 files changed, 67 insertions(+), 5 deletions(-) > > -- > 2.54.0