Skip to content

Commit a6f6803

Browse files
committed
net: Move selftests to common net/ subdirectory.
Suggested-by: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4c1d8d0 commit a6f6803

7 files changed

Lines changed: 6 additions & 22 deletions

File tree

‎tools/testing/selftests/Makefile‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ TARGETS += vm
55
TARGETS += cpu-hotplug
66
TARGETS += memory-hotplug
77
TARGETS += efivarfs
8-
TARGETS += net-socket
9-
TARGETS += net-afpacket
8+
TARGETS += net
109

1110
all:
1211
for TARGET in $(TARGETS); do \

‎tools/testing/selftests/net-socket/Makefile‎

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
1-
# Makefile for net-socket selftests
1+
# Makefile for net selftests
22

33
CC = $(CROSS_COMPILE)gcc
44
CFLAGS = -Wall
55

66
CFLAGS += -I../../../../usr/include/
77

8-
AF_PACKET_PROGS = psock_fanout
8+
NET_PROGS = socket psock_fanout
99

10-
all: $(AF_PACKET_PROGS)
10+
all: $(NET_PROGS)
1111
%: %.c
1212
$(CC) $(CFLAGS) -o $@ $^
1313

1414
run_tests: all
15+
@/bin/sh ./run_netsocktests || echo "sockettests: [FAIL]"
1516
@/bin/sh ./run_afpackettests || echo "afpackettests: [FAIL]"
1617

1718
clean:
18-
$(RM) $(AF_PACKET_PROGS)
19+
$(RM) $(NET_PROGS)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)