diff options
author | Brendan Higgins <brendanhiggins@google.com> | 2020-09-28 13:02:27 -0700 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2020-10-02 10:24:19 -0600 |
commit | 82206a0c06ccbd4a80cd623b9d52fcda130d6c7d (patch) | |
tree | e8b74980b7d38d2901a7d3ff611ba64652551d20 /tools/pci | |
parent | 67e2fae3b767fd4444f3f161f6420d0d0338a10d (diff) | |
download | linux-82206a0c06ccbd4a80cd623b9d52fcda130d6c7d.tar.gz linux-82206a0c06ccbd4a80cd623b9d52fcda130d6c7d.tar.bz2 linux-82206a0c06ccbd4a80cd623b9d52fcda130d6c7d.zip |
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>
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions