Commit 5d9b3612 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

test: clean the "test" directory from test/Makefile

Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 5ed20047
......@@ -220,15 +220,10 @@ clean: clean-built
$(Q) $(RM) ./*.img
$(Q) $(RM) ./*.out
$(Q) $(RM) ./*.bin
$(Q) $(RM) -r ./test/dump/
$(Q) $(RM) ./*.gcov ./*.gcda ./*.gcno
$(Q) $(RM) -r ./gcov
$(Q) $(RM) -r ./test/lib/
$(Q) $(RM) -r ./test/lib64/
$(Q) $(RM) protobuf-desc-gen.h
$(Q) $(MAKE) -C test/zdtm cleandep clean cleanout
$(Q) $(MAKE) -C test/libcriu clean
$(Q) $(MAKE) -C test/rpc clean
$(Q) $(MAKE) -C test $@
distclean: clean
$(E) " DISTCLEAN"
......
......@@ -31,8 +31,14 @@ override CFLAGS += -D_GNU_SOURCE
zdtm_ct: zdtm_ct.c
clean:
rm -rf zdtm_ct
$(MAKE) -C zdtm $@
$(RM) zdtm_ct
$(Q) $(RM) -r ./lib/
$(Q) $(RM) -r ./lib64/
$(Q) $(RM) -r ./dump/
$(Q) $(RM) *.log
$(Q) $(MAKE) -C zdtm cleandep clean cleanout
$(Q) $(MAKE) -C libcriu clean
$(Q) $(MAKE) -C rpc clean
$(TST): zdtm_ct
./zdtm.sh --ct ${ZDTM_ARGS} $(@) &> $(subst /,_,$@).log || \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment