kunit: Do not pollute source directory with generated files (test.log)
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 26 Oct 2020 16:59:26 +0000 (18:59 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Tue, 10 Nov 2020 20:31:16 +0000 (13:31 -0700)
commit128dc4bcc8c0c7c3bab4a3818a1ec608cccb017a
tree5a6a09ab922cf1bf33dc385268323e15d80e9a44
parentfcdb0bc08ced274078f371e1e0fe6421a97fa9f2
kunit: Do not pollute source directory with generated files (test.log)

When --build_dir is provided use it and do not pollute source directory
which even can be mounted over network or read-only.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Tested-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/kunit/kunit_kernel.py