linux/tools/testing/kunit
Brendan Higgins 82206a0c06 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 5578d008d9 ("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>
2020-10-02 10:24:19 -06:00
..
configs kunit: tool: fix --alltests flag 2020-09-23 15:52:11 -06:00
test_data kunit: show error if kunit results are not present 2020-06-26 14:29:10 -06:00
.gitattributes kunit: kunit_parser: make parser more robust 2020-03-20 16:15:57 -06:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kunit_config.py kunit: kunit_config: Fix parsing of CONFIG options with space 2020-06-26 14:27:35 -06:00
kunit_json.py kunit: tool: allow generating test results in JSON 2020-08-31 15:40:00 -06:00
kunit_kernel.py kunit: tool: fix --alltests flag 2020-09-23 15:52:11 -06:00
kunit_parser.py kunit: show error if kunit results are not present 2020-06-26 14:29:10 -06:00
kunit_tool_test.py kunit: tool: allow generating test results in JSON 2020-08-31 15:40:00 -06:00
kunit.py kunit: tool: handle when .kunit exists but .kunitconfig does not 2020-10-02 10:24:19 -06:00