Searched hist:"5578 d008d9e06bb531fb3e62dd17096d9fd9c853" (Results 1 – 1 of 1) sorted by relevance
/linux/tools/testing/kunit/ |
H A D | kunit.py | diff 82206a0c06ccbd4a80cd623b9d52fcda130d6c7d Mon Sep 28 22:02:27 CEST 2020 Brendan Higgins <brendanhiggins@google.com> kunit: tool: handle when .kunit exists but .kunitconfig does not
Right now .kunitconfig and the build dir are automatically created if the build dir does not exists; however, if the build dir is present and .kunitconfig is not, kunit_tool will crash.
Fix this by checking for both the build dir as well as the .kunitconfig.
NOTE: This depends on commit 5578d008d9e0 ("kunit: tool: fix running kunit_tool from outside kernel tree")
Link: https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest.git/commit/?id=5578d008d9e06bb531fb3e62dd17096d9fd9c853 Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> diff 5578d008d9e06bb531fb3e62dd17096d9fd9c853 Tue Aug 11 23:27:55 CEST 2020 Brendan Higgins <brendanhiggins@google.com> kunit: tool: fix running kunit_tool from outside kernel tree
Currently kunit_tool does not work correctly when executed from a path outside of the kernel tree, so make sure that the current working directory is correct and the kunit_dir is properly initialized before running.
Signed-off-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
|