mirror of
https://git.kernel.org/pub/scm/network/iproute2/iproute2.git
synced 2024-11-15 14:05:22 +08:00
testsuite: Generate generate_nlmsg when needed
Commit886f2c43
added generate_nlmsg.c. Running alltests target, which uses the binary required to run 'make -C tools' before. Fixes:886f2c43
testsuite: Generate nlmsg blob at runtime Signed-off-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
f15836faec
commit
3537633dcf
@ -28,7 +28,7 @@ endif
|
||||
configure:
|
||||
echo "Entering iproute2" && cd iproute2 && $(MAKE) configure && cd ..;
|
||||
|
||||
compile: configure
|
||||
compile: configure generate_nlmsg
|
||||
echo "Entering iproute2" && cd iproute2 && $(MAKE) && cd ..;
|
||||
|
||||
listtests:
|
||||
@ -36,7 +36,10 @@ listtests:
|
||||
echo "$$t"; \
|
||||
done
|
||||
|
||||
alltests: $(TESTS)
|
||||
generate_nlmsg:
|
||||
$(MAKE) -C tools
|
||||
|
||||
alltests: generate_nlmsg $(TESTS)
|
||||
|
||||
testclean:
|
||||
@echo "Removing $(RESULTS_DIR) dir ..."
|
||||
|
Loading…
Reference in New Issue
Block a user