linux-stable/tools/testing/kunit
Greg Thelen 0476e69f39 kunit: add --make_options
The kunit.py utility builds an ARCH=um kernel and then runs it.  Add
optional --make_options flag to kunit.py allowing for the operator to
specify extra build options.

This allows use of the clang compiler for kunit:
  tools/testing/kunit/kunit.py run --defconfig \
    --make_options CC=clang --make_options HOSTCC=clang

Signed-off-by: Greg Thelen <gthelen@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Tested-by: David Gow <davidgow@google.com>
Signed-off-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2020-03-23 17:08:22 -06:00
..
configs kunit: Run all KUnit tests through allyesconfig 2020-03-20 16:17:39 -06:00
test_data kunit: kunit_parser: make parser more robust 2020-03-20 16:15:57 -06:00
.gitattributes kunit: kunit_parser: make parser more robust 2020-03-20 16:15:57 -06:00
.gitignore
kunit.py kunit: add --make_options 2020-03-23 17:08:22 -06:00
kunit_config.py
kunit_kernel.py kunit: add --make_options 2020-03-23 17:08:22 -06:00
kunit_parser.py kunit: Run all KUnit tests through allyesconfig 2020-03-20 16:17:39 -06:00
kunit_tool_test.py kunit: Run all KUnit tests through allyesconfig 2020-03-20 16:17:39 -06:00