aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHeidi Fahim <heidifahim@google.com>2020-02-18 14:19:16 -0800
committerShuah Khan <skhan@linuxfoundation.org>2020-02-19 15:58:07 -0700
commitbe886ba90cce2fb2f5a4dbcda8f3be3fd1b2f484 (patch)
tree8c07ab9fd9e4509b1a1252c3251452b91aae1cee /Documentation
parentkunit: test: Improve error messages for kunit_tool when kunitconfig is invalid (diff)
downloadlinux-dev-be886ba90cce2fb2f5a4dbcda8f3be3fd1b2f484.tar.xz
linux-dev-be886ba90cce2fb2f5a4dbcda8f3be3fd1b2f484.zip
kunit: run kunit_tool from any directory
Implemented small fix so that the script changes work directories to the root of the linux kernel source tree from which kunit.py is run. This enables the user to run kunit from any working directory. Originally considered using os.path.join but this is more error prone as we would have to find all file path usages and modify them accordingly. Using os.chdir ensures that the entire script is run within /linux. Signed-off-by: Heidi Fahim <heidifahim@google.com> Reviewed-by: Brendan Higgins <brendanhiggins@google.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions