[ovs-dev] [PATCH 1/4] tests: Generate valgrind wrappers only for real test programs.

Ben Pfaff blp at ovn.org
Wed Feb 8 16:32:28 UTC 2017


ovstest is the main test binary these days, and that has been so for a
long time, but the tests code was still generating valgrind wrappers for
other binaries that went away a long time ago.  That's harmless but
confusing, so this commit fixes it.

Also fixes alphabetical ordering and adds the missing test-strtok_r
wrapper.

Signed-off-by: Ben Pfaff <blp at ovn.org>
---
 tests/automake.mk | 34 +++-------------------------------
 1 file changed, 3 insertions(+), 31 deletions(-)

diff --git a/tests/automake.mk b/tests/automake.mk
index f4d4879..c6bd120 100644
--- a/tests/automake.mk
+++ b/tests/automake.mk
@@ -167,43 +167,15 @@ valgrind_wrappers = \
 	tests/valgrind/ovn-sbctl \
 	tests/valgrind/ovs-appctl \
 	tests/valgrind/ovs-ofctl \
-	tests/valgrind/ovstest \
 	tests/valgrind/ovs-vsctl \
 	tests/valgrind/ovs-vswitchd \
 	tests/valgrind/ovsdb-client \
 	tests/valgrind/ovsdb-server \
 	tests/valgrind/ovsdb-tool \
-	tests/valgrind/test-aes128 \
-	tests/valgrind/test-atomic \
-	tests/valgrind/test-bundle \
-	tests/valgrind/test-byte-order \
-	tests/valgrind/test-classifier \
-	tests/valgrind/test-ccmap \
-	tests/valgrind/test-cmap \
-	tests/valgrind/test-csum \
-	tests/valgrind/test-flows \
-	tests/valgrind/test-hash \
-	tests/valgrind/test-hindex \
-	tests/valgrind/test-hmap \
-	tests/valgrind/test-json \
-	tests/valgrind/test-jsonrpc \
-	tests/valgrind/test-list \
-	tests/valgrind/test-lockfile \
-	tests/valgrind/test-multipath \
-	tests/valgrind/test-odp \
-	tests/valgrind/test-ofpbuf \
+	tests/valgrind/ovstest \
 	tests/valgrind/test-ovsdb \
-	tests/valgrind/test-packets \
-	tests/valgrind/test-random \
-	tests/valgrind/test-reconnect \
-	tests/valgrind/test-rstp \
-	tests/valgrind/test-sha1 \
-	tests/valgrind/test-stp \
-	tests/valgrind/test-type-props \
-	tests/valgrind/test-unix-socket \
-	tests/valgrind/test-unixctl \
-	tests/valgrind/test-uuid \
-	tests/valgrind/test-vconn
+	tests/valgrind/test-strtok_r \
+	tests/valgrind/test-type-props
 
 $(valgrind_wrappers): tests/valgrind-wrapper.in
 	@test -d tests/valgrind || mkdir tests/valgrind
-- 
2.10.2



More information about the dev mailing list