build: add option to wipe/rebuild papi

Previously, the only option was to wipe/rebuild all the test dependencies.

Type: make

Change-Id: Ia95d6e800f67bef033dcf614dbfa249c3e43159d
Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
This commit is contained in:
Paul Vinciguerra
2019-07-09 16:49:46 -04:00
committed by Neale Ranns
parent 22e9cfd760
commit 2648e4474e
2 changed files with 9 additions and 0 deletions

View File

@@ -423,6 +423,9 @@ test-all-debug:
$(eval EXTENDED_TESTS=yes)
$(call test,vpp,vpp_debug,test)
papi-wipe:
@make -C test papi-wipe
test-help:
@make -C test help

View File

@@ -252,6 +252,11 @@ cov: wipe-cov reset ext verify-test-dir $(PAPI_INSTALL_DONE)
wipe-cov: wipe
@rm -rf $(BUILD_COV_DIR)
.PHONY: papi-wipe
papi-wipe:
@rm -rf $(PAPI_INSTALL_DONE)
.PHONY: checkstyle
checkstyle: verify-test-dir
@virtualenv $(VENV_PATH) -p python3
@@ -275,6 +280,7 @@ help:
@echo " test-all-debug - build and run (all) functional tests (debug build)"
@echo " retest - run functional tests"
@echo " retest-debug - run functional tests (debug build)"
@echo " papi-wipe - rebuild vpp_papi sources"
@echo " test-wipe - wipe (temporary) files generated by unit tests"
@echo " test-shell - enter shell with test environment"
@echo " test-shell-debug - enter shell with test environment (debug build)"