linux/tools/testing/kunit
Daniel Latypov a9333bd344 kunit: tool: introduce --qemu_args
Example usage:
$ ./tools/testing/kunit/kunit.py run --arch=x86_64 \
  --kconfig_add=CONFIG_SMP=y --qemu_args='-smp 8'

Looking in the test.log, one can see
> smp: Bringing up secondary CPUs ...
> .... node  #0, CPUs:      #1 #2 #3 #4 #5 #6 #7
> smp: Brought up 1 node, 8 CPUs

This flag would allow people to make tweaks like this without having to
create custom qemu_config files.

For consistency with --kernel_args, we allow users to repeat this
argument, e.g. you can tack on a --qemu_args='-m 2048', or you could
just append it to the first string ('-smp 8 -m 2048').

Signed-off-by: Daniel Latypov <dlatypov@google.com>
Reviewed-by: David Gow <davidgow@google.com>
Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
2022-07-07 18:00:05 -06:00
..
configs kunit: tool: Add list of all valid test configs on UML 2022-05-16 13:23:33 -06:00
qemu_configs kunit: tool: Use qemu-system-i386 for i386 runs 2022-05-18 17:03:54 -06:00
test_data kunit: tool: make parser stop overwriting status of suites w/ no_tests 2022-05-16 13:22:12 -06:00
.gitignore .gitignore: add SPDX License Identifier 2020-03-25 11:50:48 +01:00
kunit_config.py kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00
kunit_json.py kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00
kunit_kernel.py kunit: tool: introduce --qemu_args 2022-07-07 18:00:05 -06:00
kunit_parser.py kunit: tool: refactoring printing logic into kunit_printer.py 2022-07-07 17:46:25 -06:00
kunit_printer.py kunit: tool: refactoring printing logic into kunit_printer.py 2022-07-07 17:46:25 -06:00
kunit_tool_test.py kunit: tool: introduce --qemu_args 2022-07-07 18:00:05 -06:00
kunit.py kunit: tool: introduce --qemu_args 2022-07-07 18:00:05 -06:00
qemu_config.py kunit: tool: drop last uses of collections.namedtuple 2022-04-04 14:25:53 -06:00
run_checks.py kunit: tool: misc cleanups 2022-05-16 13:22:36 -06:00