aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/vsock/Makefile
diff options
context:
space:
mode:
authorStefan Hajnoczi <stefanha@redhat.com>2019-12-18 19:07:04 +0100
committerDavid S. Miller <davem@davemloft.net>2019-12-20 21:09:21 -0800
commitcdbcc18de10a7d72b821fe40fbc2d0ec61e39448 (patch)
tree7e41de415b7218906b822c89102019626a02465f /tools/testing/vsock/Makefile
parentVSOCK: add send_byte()/recv_byte() test utilities (diff)
downloadlinux-dev-cdbcc18de10a7d72b821fe40fbc2d0ec61e39448.tar.xz
linux-dev-cdbcc18de10a7d72b821fe40fbc2d0ec61e39448.zip
VSOCK: add AF_VSOCK test cases
The vsock_test.c program runs a test suite of AF_VSOCK test cases. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/vsock/Makefile')
-rw-r--r--tools/testing/vsock/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/testing/vsock/Makefile b/tools/testing/vsock/Makefile
index a916878a2d8c..f8293c6910c9 100644
--- a/tools/testing/vsock/Makefile
+++ b/tools/testing/vsock/Makefile
@@ -1,10 +1,11 @@
# SPDX-License-Identifier: GPL-2.0-only
all: test
-test: vsock_diag_test
+test: vsock_test vsock_diag_test
+vsock_test: vsock_test.o timeout.o control.o util.o
vsock_diag_test: vsock_diag_test.o timeout.o control.o util.o
CFLAGS += -g -O2 -Werror -Wall -I. -I../../include -I../../../usr/include -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -D_GNU_SOURCE
.PHONY: all test clean
clean:
- ${RM} *.o *.d vsock_diag_test
+ ${RM} *.o *.d vsock_test vsock_diag_test
-include *.d