mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-04 09:34:12 +08:00
0b02503384
This patch adds tests for the vsock_diag.ko module. These tests are not self-tests because they require manual set up of a KVM or VMware guest. Please see tools/testing/vsock/README for instructions. The control.h and timeout.h infrastructure can be used for additional AF_VSOCK tests in the future. Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
10 lines
343 B
Makefile
10 lines
343 B
Makefile
all: test
|
|
test: vsock_diag_test
|
|
vsock_diag_test: vsock_diag_test.o timeout.o control.o
|
|
|
|
CFLAGS += -g -O2 -Werror -Wall -I. -I../../include/uapi -I../../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
|
|
-include *.d
|