mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 22:51:42 +00:00
net: Move selftests to common net/ subdirectory.
Suggested-by: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
4c1d8d0617
commit
a6f68034de
@ -5,8 +5,7 @@ TARGETS += vm
|
||||
TARGETS += cpu-hotplug
|
||||
TARGETS += memory-hotplug
|
||||
TARGETS += efivarfs
|
||||
TARGETS += net-socket
|
||||
TARGETS += net-afpacket
|
||||
TARGETS += net
|
||||
|
||||
all:
|
||||
for TARGET in $(TARGETS); do \
|
||||
|
@ -1,16 +0,0 @@
|
||||
# Makefile for net-socket selftests
|
||||
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
CFLAGS = -Wall
|
||||
|
||||
NET_SOCK_PROGS = socket
|
||||
|
||||
all: $(NET_SOCK_PROGS)
|
||||
%: %.c
|
||||
$(CC) $(CFLAGS) -o $@ $^
|
||||
|
||||
run_tests: all
|
||||
@/bin/sh ./run_netsocktests || echo "sockettests: [FAIL]"
|
||||
|
||||
clean:
|
||||
$(RM) $(NET_SOCK_PROGS)
|
@ -1,18 +1,19 @@
|
||||
# Makefile for net-socket selftests
|
||||
# Makefile for net selftests
|
||||
|
||||
CC = $(CROSS_COMPILE)gcc
|
||||
CFLAGS = -Wall
|
||||
|
||||
CFLAGS += -I../../../../usr/include/
|
||||
|
||||
AF_PACKET_PROGS = psock_fanout
|
||||
NET_PROGS = socket psock_fanout
|
||||
|
||||
all: $(AF_PACKET_PROGS)
|
||||
all: $(NET_PROGS)
|
||||
%: %.c
|
||||
$(CC) $(CFLAGS) -o $@ $^
|
||||
|
||||
run_tests: all
|
||||
@/bin/sh ./run_netsocktests || echo "sockettests: [FAIL]"
|
||||
@/bin/sh ./run_afpackettests || echo "afpackettests: [FAIL]"
|
||||
|
||||
clean:
|
||||
$(RM) $(AF_PACKET_PROGS)
|
||||
$(RM) $(NET_PROGS)
|
Loading…
Reference in New Issue
Block a user