Home
last modified time | relevance | path

Searched hist:be886ba90cce2fb2f5a4dbcda8f3be3fd1b2f484 (Results 1 – 1 of 1) sorted by relevance

/linux/tools/testing/kunit/
H A Dkunit.pydiff be886ba90cce2fb2f5a4dbcda8f3be3fd1b2f484 Tue Feb 18 23:19:16 CET 2020 Heidi Fahim <heidifahim@google.com> 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>