mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-08-26 04:38:38 +00:00
testsuite: remove all temp files and implement make clean
Some generated test files were not removed, including one executable in the testsuite/tools directory. Ensure make clean from the top level directory works for the testsuite subdirs too, and that all the files are removed. Signed-off-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
1019364964
commit
ad23e152b8
2
Makefile
2
Makefile
@ -96,7 +96,7 @@ snapshot:
|
||||
> include/SNAPSHOT.h
|
||||
|
||||
clean:
|
||||
@for i in $(SUBDIRS); \
|
||||
@for i in $(SUBDIRS) testsuite; \
|
||||
do $(MAKE) $(MFLAGS) -C $$i clean; done
|
||||
|
||||
clobber:
|
||||
|
@ -41,6 +41,9 @@ alltests: $(TESTS)
|
||||
clean:
|
||||
@echo "Removing $(RESULTS_DIR) dir ..."
|
||||
@rm -rf $(RESULTS_DIR)
|
||||
@rm -f iproute2/iproute2-this
|
||||
@rm -f tests/ip/link/dev_wo_vf_rate.nl
|
||||
$(MAKE) -C tools clean
|
||||
|
||||
distclean: clean
|
||||
echo "Entering iproute2" && cd iproute2 && $(MAKE) distclean && cd ..;
|
||||
|
@ -1,3 +1,6 @@
|
||||
# SPDX-License-Identifier: GPL-2.0
|
||||
generate_nlmsg: generate_nlmsg.c ../../lib/libnetlink.c
|
||||
$(CC) -o $@ $^
|
||||
|
||||
clean:
|
||||
rm -f generate_nlmsg
|
||||
|
Loading…
Reference in New Issue
Block a user