All of lore.kernel.org
 help / color / mirror / Atom feed
* [igt-dev] [PATCH i-g-t 0/7] Add the --environment flag
@ 2022-06-28  9:44 Ryszard Knop
  2022-06-28  9:44 ` [igt-dev] [PATCH i-g-t 1/7] runner: rename free_settings to clear_settings Ryszard Knop
                   ` (9 more replies)
  0 siblings, 10 replies; 32+ messages in thread
From: Ryszard Knop @ 2022-06-28  9:44 UTC (permalink / raw)
  To: Development mailing list for IGT GPU Tools

This series adds a new flag/argument to the igt_runner, --environment.

It sets the provided KEY=VALUE pair as the environment variable for
executed test processes. If just the KEY is provided, the currently-set
value is reused (and the run fails if it's not set for the runner).

The most important thing about this feature is that all the variables
set this way are saved for resumed runs as well. This lets developers
easily try something out from the terminal without having to remember
to set the same vars/reuse a wrapper to continue a run.

Ryszard Knop (7):
  runner: rename free_settings to clear_settings
  runner: make the usage function variadic
  igt_list: Add the igt_list_empty_or_null helper
  runner: Add the --environment flag
  runner: Serialize the provided environment flags
  runner: Set requested env vars during execution
  runner: Add help for the --environment flag

 lib/igt_list.c        |   5 +
 lib/igt_list.h        |   1 +
 runner/executor.c     |  10 +-
 runner/resultgen.c    |   2 +-
 runner/runner_tests.c |  12 +-
 runner/settings.c     | 385 ++++++++++++++++++++++++++++++++++--------
 runner/settings.h     |  15 +-
 7 files changed, 350 insertions(+), 80 deletions(-)

-- 
2.36.1

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

end of thread, other threads:[~2022-08-31 11:09 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-28  9:44 [igt-dev] [PATCH i-g-t 0/7] Add the --environment flag Ryszard Knop
2022-06-28  9:44 ` [igt-dev] [PATCH i-g-t 1/7] runner: rename free_settings to clear_settings Ryszard Knop
2022-06-29 15:48   ` Mauro Carvalho Chehab
2022-06-28  9:44 ` [igt-dev] [PATCH i-g-t 2/7] runner: make the usage function variadic Ryszard Knop
2022-06-28 23:51   ` [igt-dev] [i-g-t,2/7] " Maíra Canal
2022-06-30 13:16     ` Knop, Ryszard
2022-06-29 15:51   ` [igt-dev] [PATCH i-g-t 2/7] " Mauro Carvalho Chehab
2022-07-25 11:53   ` Petri Latvala
2022-06-28  9:44 ` [igt-dev] [PATCH i-g-t 3/7] igt_list: Add the igt_list_empty_or_null helper Ryszard Knop
2022-06-29 16:00   ` Mauro Carvalho Chehab
2022-06-28  9:44 ` [igt-dev] [PATCH i-g-t 4/7] runner: Add the --environment flag Ryszard Knop
2022-06-29 16:13   ` Mauro Carvalho Chehab
     [not found]     ` <b1e8327b02fbbda0e180b217735b460c6f307f6b.camel@intel.com>
2022-07-05 19:58       ` Mauro Carvalho Chehab
2022-06-28  9:44 ` [igt-dev] [PATCH i-g-t 5/7] runner: Serialize the provided environment flags Ryszard Knop
2022-06-29 16:36   ` Mauro Carvalho Chehab
     [not found]     ` <6622adedd2931cbd6d4e0c3eb46a2d3f72343351.camel@intel.com>
2022-07-05 20:12       ` Mauro Carvalho Chehab
2022-06-28  9:44 ` [igt-dev] [PATCH i-g-t 6/7] runner: Set requested env vars during execution Ryszard Knop
2022-06-29 16:28   ` Mauro Carvalho Chehab
2022-06-28  9:44 ` [igt-dev] [PATCH i-g-t 7/7] runner: Add help for the --environment flag Ryszard Knop
2022-06-29 16:30   ` Mauro Carvalho Chehab
2022-06-28 10:36 ` [igt-dev] ✓ Fi.CI.BAT: success for Add " Patchwork
2022-06-29  0:03 ` [igt-dev] ✗ Fi.CI.IGT: failure " Patchwork
2022-08-08 16:18 ` [igt-dev] [PATCH i-g-t v2 0/7] " Ryszard Knop
2022-08-08 16:18   ` [igt-dev] [PATCH i-g-t v2 1/7] runner: rename free_settings to clear_settings Ryszard Knop
2022-08-08 16:18   ` [igt-dev] [PATCH i-g-t v2 2/7] runner: make the usage function variadic Ryszard Knop
2022-08-08 16:18   ` [igt-dev] [PATCH i-g-t v2 3/7] runner: Add the --environment flag Ryszard Knop
2022-08-08 16:18   ` [igt-dev] [PATCH i-g-t v2 4/7] runner: Serialize the provided environment flags Ryszard Knop
2022-08-08 16:18   ` [igt-dev] [PATCH i-g-t v2 5/7] runner: Set requested env vars during execution Ryszard Knop
2022-08-08 16:18   ` [igt-dev] [PATCH i-g-t v2 6/7] runner: Add help for the --environment flag Ryszard Knop
2022-08-08 16:18   ` [igt-dev] [PATCH i-g-t v2 7/7] runner: Add tests for environment flags Ryszard Knop
2022-08-31  9:30   ` [igt-dev] [PATCH i-g-t v2 0/7] Add the --environment flag Petri Latvala
2022-08-31 11:09     ` Knop, Ryszard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.