[PATCH i-g-t 0/5] Add igt_runner's cmdline to results
Lucas De Marchi
lucas.demarchi at intel.com
Fri Jan 17 23:17:41 UTC 2025
Help devs to reproduce what CI is running by dumping what is the command
line being used. While it's true that in the shard case we don't have
the testlist, just seeing the right incantation of command line is a
great improvement.
I plan to follow this with the env vars, but first want to get this
in. It seems we already have an environment.txt saved, however that
doesn't contain the igt_runner's env, only options passed via -e to
igt_runner which is then forwarded to each test. I'm wondering if this
is a source of bugs when using igt_resume: if the environment doesn't
match, it will run with different options on each execution.
Lucas De Marchi (5):
runner/settings: Deduplicate cleanup
runner/settings: Use wrapper functions for each type
runner/settings: Drop extra strdup
runner/settings: Serialize command line
runner/resultgen: Add cmdline to results.json
runner/resultgen.c | 7 ++-
runner/settings.c | 114 +++++++++++++++++++++++++++++++--------------
runner/settings.h | 4 ++
3 files changed, 90 insertions(+), 35 deletions(-)
--
2.48.0
More information about the igt-dev
mailing list