Tests clean-up when cleaning VPP code. 27/9527/3
authorMarco Varlese <marco.varlese@suse.com>
Wed, 22 Nov 2017 15:46:58 +0000 (16:46 +0100)
committerDave Wallace <dwallacelf@gmail.com>
Thu, 23 Nov 2017 13:24:18 +0000 (13:24 +0000)
Tests are not cleaned when running "make wipe". However, it makes sense
to clean tests too since the "tested code" has been wiped and - likely -
will be rebuilt with new/extra features/requirements.

Change-Id: I34cc188e78f51d327f78f3d43cea5a82fdc6fb25
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
Makefile

index fcce193..f8c93be 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -324,7 +324,7 @@ build: $(BR)/.bootstrap.ok
 wipedist:
        @$(RM) $(BR)/*.tar.xz
 
-wipe: wipedist $(BR)/.bootstrap.ok
+wipe: wipedist test-wipe $(BR)/.bootstrap.ok
        $(call make,$(PLATFORM)_debug,$(addsuffix -wipe,$(TARGETS)))
 
 rebuild: wipe build
@@ -332,7 +332,7 @@ rebuild: wipe build
 build-release: $(BR)/.bootstrap.ok
        $(call make,$(PLATFORM),$(addsuffix -install,$(TARGETS)))
 
-wipe-release: $(BR)/.bootstrap.ok
+wipe-release: test-wipe $(BR)/.bootstrap.ok
        $(call make,$(PLATFORM),$(addsuffix -wipe,$(TARGETS)))
 
 rebuild-release: wipe-release build-release