aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2019-07-09 16:49:46 -0400
committerNeale Ranns <nranns@cisco.com>2019-07-28 14:21:05 +0000
commit2648e4474eee9df539d644cf22e67cd04385f0ba (patch)
tree8156dfb1cbe3bfe213aa8ae0f3633a28c55bcc46
parent22e9cfd760be613f33a4135e9247729b64619cc6 (diff)
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>
-rw-r--r--Makefile3
-rw-r--r--test/Makefile6
2 files changed, 9 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 0c8b1730023..16243bc5085 100644
--- a/Makefile
+++ b/Makefile
@@ -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
diff --git a/test/Makefile b/test/Makefile
index 8a6d69c3a62..3a92f1413b5 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -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)"