From 2648e4474eee9df539d644cf22e67cd04385f0ba Mon Sep 17 00:00:00 2001 From: Paul Vinciguerra Date: Tue, 9 Jul 2019 16:49:46 -0400 Subject: [PATCH] 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 --- Makefile | 3 +++ test/Makefile | 6 ++++++ 2 files changed, 9 insertions(+) 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)" -- 2.16.6