summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorHeidi Fahim <heidifahim@google.com>2020-02-18 23:19:16 +0100
committerShuah Khan <skhan@linuxfoundation.org>2020-02-19 23:58:07 +0100
commitbe886ba90cce2fb2f5a4dbcda8f3be3fd1b2f484 (patch)
tree8c07ab9fd9e4509b1a1252c3251452b91aae1cee /certs
parentkunit: test: Improve error messages for kunit_tool when kunitconfig is invalid (diff)
downloadlinux-be886ba90cce2fb2f5a4dbcda8f3be3fd1b2f484.tar.xz
linux-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 'certs')
0 files changed, 0 insertions, 0 deletions