1 TESTS := $(patsubst tests/%,%,$(wildcard tests/*))
2 IPVERS := $(filter-out iproute2/Makefile,$(wildcard iproute2/*))
6 .PHONY: compile listtests alltests $(TESTS)
9 echo "Entering iproute2" && cd iproute2 && $(MAKE) && cd ..;
12 @for t in $(TESTS); do \
22 @for i in $(IPVERS); do \
23 echo -n "Running $@ with $$i on `uname -r`: "; \
24 logger "TESTMARK: $@"; \
25 o=`echo $$i | sed -e 's/iproute2\///'`; \
26 TC="$$i/tc/tc" IP="$$i/ip/ip" DEV="$(DEV)" sudo tests/$@ > results/$@.$$o.out 2> results/$@.$$o.err; \
27 dmesg > results/$@.$$o.dmesg; \
28 if [ -z "`cat results/$@.$$o.err`" ]; then \