diff options
author | Yifeng Sun <pkusunyifeng@gmail.com> | 2017-12-11 05:44:06 -0800 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2017-12-20 09:35:10 -0800 |
commit | 357a9d96b02f591af5a3044873aa5667876aefde (patch) | |
tree | bbe335f80db66df4e7015f1862aef8733fcd58a5 /Documentation | |
parent | db02f37091db43ec53d909cc107eb8166137c04b (diff) | |
download | openvswitch-357a9d96b02f591af5a3044873aa5667876aefde.tar.gz |
valgrind: Add support to run kernel datapath testsuite under valgrind
With this patch, kernel datapath testsuite can be run under valgrind by using
the "check-kernel-valgrind" target and the results can be found under directory
"tests/system-kmod-testsuite.dir/".
Signed-off-by: Yifeng Sun <pkusunyifeng@gmail.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
Tested-by: Greg Rose <gvrose8192@gmail.com
Reviewed-by: Greg Rose <gvrose8192@gmail.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/topics/testing.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/topics/testing.rst b/Documentation/topics/testing.rst index 1ecda00d0..a49336b79 100644 --- a/Documentation/topics/testing.rst +++ b/Documentation/topics/testing.rst @@ -118,6 +118,10 @@ valgrind by using the ``check-valgrind`` target:: When you do this, the "valgrind" results for test ``<N>`` are reported in files named ``tests/testsuite.dir/<N>/valgrind.*``. +To test the testsuite of kernel datapath under valgrind, you can use the +``check-kernel-valgrind`` target and find the "valgrind" results under +directory ``tests/system-kmod-testsuite.dir/``. + All the same options are available via TESTSUITEFLAGS. .. hint:: |