memblock tests: change build options to run-time options
authorRebecca Mckeever <remckee0@gmail.com>
Thu, 14 Jul 2022 03:17:17 +0000 (22:17 -0500)
committerMike Rapoport <rppt@linux.ibm.com>
Wed, 20 Jul 2022 07:46:33 +0000 (10:46 +0300)
commit06c8580aa23ddc9b1c37b9c7c5e2cc504e460207
treefa68978a36d3dea19ba4e611d8759f4dc615e7cd
parentfe833b4edc594a4a6f1ce2d68975733e17b8f8ed
memblock tests: change build options to run-time options

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@gmail.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Mike Rapoport <rppt@linux.ibm.com>
Link: https://lore.kernel.org/r/20220714031717.12258-1-remckee0@gmail.com
tools/testing/memblock/Makefile
tools/testing/memblock/linux/memory_hotplug.h
tools/testing/memblock/main.c
tools/testing/memblock/scripts/Makefile.include
tools/testing/memblock/tests/common.c
tools/testing/memblock/tests/common.h