Re: [PATCH] memblock tests: change build options to run-time options

From: Mike Rapoport
Date: Wed Jul 20 2022 - 03:47:39 EST


On Wed, Jul 13, 2022 at 10:17:17PM -0500, Rebecca Mckeever wrote:
> Change verbose and movable node build options to run-time options.
>
> Movable node usage:
> $ ./main -m
>
> Or:
> $ ./main --movable-node
>
> Verbose usage:
> $ ./main -v
>
> Or:
> $ ./main --verbose
>
> Signed-off-by: Rebecca Mckeever <remckee0@xxxxxxxxx>
> ---
> tools/testing/memblock/Makefile | 5 --
> tools/testing/memblock/linux/memory_hotplug.h | 8 +-
> tools/testing/memblock/main.c | 2 +
> .../testing/memblock/scripts/Makefile.include | 10 ---
> tools/testing/memblock/tests/common.c | 86 ++++++++++++++++---
> tools/testing/memblock/tests/common.h | 10 +--
> 6 files changed, 79 insertions(+), 42 deletions(-)

Applied, thanks!

--
Sincerely yours,
Mike.