summaryrefslogtreecommitdiffstats
path: root/tools/testing/memblock
diff options
context:
space:
mode:
authorShaoqin Huang <shaoqin.huang@intel.com>2022-07-29 18:11:25 +0200
committerMike Rapoport <rppt@linux.ibm.com>2022-07-30 10:46:49 +0200
commit04d9490986d1e04a38db88276115e6b3c9ec3faa (patch)
treeae570c36102b7cc04bf2887dd99ae1bfbae223eb /tools/testing/memblock
parentmemblock tests: fix compilation errors (diff)
downloadlinux-04d9490986d1e04a38db88276115e6b3c9ec3faa.tar.xz
linux-04d9490986d1e04a38db88276115e6b3c9ec3faa.zip
memblock test: Modify the obsolete description in README
The VERBOSE option in Makefile has been moved, but there still have the description left in README. For now, we use `-v` options when running memblock test to print information, so using the new to replace the obsolete items. Signed-off-by: Shaoqin Huang <shaoqin.huang@intel.com> Acked-by: Rebecca Mckeever <remckee0@gmail.com> Signed-off-by: Mike Rapoport <rppt@linux.ibm.com> Link: https://lore.kernel.org/r/20220729161125.190845-1-shaoqin.huang@intel.com
Diffstat (limited to 'tools/testing/memblock')
-rw-r--r--tools/testing/memblock/README15
1 files changed, 9 insertions, 6 deletions
diff --git a/tools/testing/memblock/README b/tools/testing/memblock/README
index 058146b528a5..7ca437d81806 100644
--- a/tools/testing/memblock/README
+++ b/tools/testing/memblock/README
@@ -33,20 +33,23 @@ To run the tests, build the main target and run it:
$ make && ./main
-A successful run produces no output. It is also possible to override different
-configuration parameters. For example, to include verbose output, specify the
-VERBOSE flag when building the main target:
+A successful run produces no output. It is possible to control the behavior
+by passing options from command line. For example, to include verbose output,
+append the `-v` options when you run the tests:
-$ make VERBOSE=1
+$ ./main -v
This will print information about which functions are being tested and the
number of test cases that passed.
-To simulate enabled NUMA, use:
+For the full list of options from command line, see `./main --help`.
+
+It is also possible to override different configuration parameters to change
+the test functions. For example, to simulate enabled NUMA, use:
$ make NUMA=1
-For the full list of options, see `make help`.
+For the full list of build options, see `make help`.
Project structure
=================