-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: Move selftests to common net/ subdirectory.
Suggested-by: Daniel Baluta <daniel.baluta@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
- Loading branch information
David S. Miller
committed
Mar 20, 2013
1 parent
4c1d8d0
commit a6f6803
Showing
7 changed files
with
6 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
9 changes: 5 additions & 4 deletions
9
...s/testing/selftests/net-afpacket/Makefile → tools/testing/selftests/net/Makefile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.