diff options
| author | Daniel Latypov <[email protected]> | 2021-12-14 19:30:10 +0000 |
|---|---|---|
| committer | Shuah Khan <[email protected]> | 2021-12-15 18:51:16 +0000 |
| commit | 1ee2ba89bea86d6389509e426583b49ac19b86f2 (patch) | |
| tree | 17a84cdbc71ae7707f25eaeae94af71bbe8f332d /drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c | |
| parent | kunit: tool: delete kunit_parser.TestResult type (diff) | |
| download | kernel-1ee2ba89bea86d6389509e426583b49ac19b86f2.tar.gz kernel-1ee2ba89bea86d6389509e426583b49ac19b86f2.zip | |
kunit: tool: make `build` subcommand also reconfigure if needed
If I created a kunitconfig file that was incomplete, then
$ ./tools/testing/kunit/kunit.py build --kunitconfig=my_kunitconfig
would silently drop all the options with unmet dependencies!
This is because it doesn't do the config check that `kunit.py config`
does.
So if I want to safely build a kernel for testing, I have to do
$ ./tools/testing/kunit/kunit.py config <flags>
$ ./tools/testing/kunit/kunit.py build <flags, again>
It seems unlikely that any user of kunit.py would want the current
`build` semantics.
So make it effectively do `kunit.py config` + `kunit.py build`.
Signed-off-by: Daniel Latypov <[email protected]>
Reviewed-by: Brendan Higgins <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c')
0 files changed, 0 insertions, 0 deletions
