linux-stable/tools/testing/kunit
Heidi Fahim be886ba90c 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>
2020-02-19 15:58:07 -07:00
..
configs
test_data
.gitignore
kunit.py kunit: run kunit_tool from any directory 2020-02-19 15:58:07 -07:00
kunit_config.py
kunit_kernel.py kunit: test: Improve error messages for kunit_tool when kunitconfig is invalid 2020-02-19 15:54:29 -07:00
kunit_parser.py
kunit_tool_test.py kunit/kunit_tool_test: Test '--build_dir' option run 2019-12-23 10:52:41 -07:00