Add the --environment flag
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest7 patches 0 repliesNew
- v27 patches 2 repliesSuperseded
- v17 patches 12 repliesSuperseded
v2 from the cover letter
- [2/7] usage(msg, ...) -> usage(stderr) (Maira)
- [2/7] __attribute__ ((format (...))) (Petri)
- [3/7] Moved warning fixes from later commits here
- [3/7] igt_list_empty_or_null -> igt_list_empty (Mauro)
- [3/7] Optimized the parser, more error handling (Mauro)
- [4/7] Simplify env var reading from files (Mauro)
- [4/7] Don't align settings loading block (Mauro)
- [4/7] Make filenames static const (Mauro)
- [5/7] Removed unnecessary checks, misc cleanup (Mauro)
- [7/7] Added requested tests (Mauro)
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | runner: rename free_settings to clear_settingsrunner/ runner/ runner/ +2 more | +15 | 0 replies | |
| 2/7 | runner: make the usage function variadicrunner/ | +31 | 0 replies | |
| 3/7 | runner: Add the --environment flagrunner/ runner/ | +131 | 0 replies | |
| 4/7 | runner: Serialize the provided environment flagsrunner/ | +152 | 0 replies | |
| 5/7 | runner: Set requested env vars during executionrunner/ | +6 | 0 replies | |
| 6/7 | runner: Add help for the --environment flagrunner/ | +4 | 0 replies | |
| 7/7 | runner: Add tests for environment flagsrunner/ runner/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [igt-dev] [PATCH i-g-t v3 0/7] Add the --environment flag
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.
v2:
- [2/7] usage(msg, ...) -> usage(stderr) (Maira)
- [2/7] __attribute__ ((format (...))) (Petri)
- [3/7] Moved warning fixes from later commits here
- [3/7] igt_list_empty_or_null -> igt_list_empty (Mauro)
- [3/7] Optimized the parser, more error handling (Mauro)
- [4/7] Simplify env var reading from files (Mauro)
- [4/7] Don't align settings loading block (Mauro)
- [4/7] Make filenames static const (Mauro)
- [5/7] Removed unnecessary checks, misc cleanup (Mauro)
- [7/7] Added requested tests (Mauro)
v3: Resent to let Patchwork pick it up.