summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDave Wallace <dwallacelf@gmail.com>2019-11-15 17:29:15 -0500
committerPaul Vinciguerra <pvinci@vinciconsulting.com>2019-12-04 20:20:13 +0000
commitf0797d130f82f751c1657e40e203eeb26f7aa3da (patch)
tree9bdcb2d62a3516c2dbfcf45fc2806f63a4185696 /Makefile
parentc9cb8f6d9c6e1f51dfdf3e9f4ba0c9f38d1ca6d6 (diff)
build: fix make test with distributed src
This patch addresses the functionality that is missing for distributed make test source files. In addition it extends the concept of colocating test source code with functional source code (eg. src/vcl/test). It also cleans up deficiencies in the make test makefiles. NOTE: Due to the way sphinx document tools work, all test, all of the make test python code is gathered using soft links into the directory: .../build-root/build-test/src Change summary: - Remove 'make test' help details from main makefile help output to reduce clutter and redundant help output - Move all generated build output to .../build-root/build-test - Move test_vcl.py as first usecase for distributed core feature make test code - Add test-wipe-all target and fix wipe targets to remove all generated files - Fix 'make test-doc' to generate module documentation for all source files - Remove unused targets in test/doc/Makefile - Fix 'make test-shell' - Fix test/ext Makefile to not generate bogus output Type: fix Fixes: a43c93f8554ad7418e31be3791b3fb71232f60ac Change-Id: Icc2ddb81d474081c3ede4548ecd7a0624651f62d Signed-off-by: Dave Wallace <dwallacelf@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
1 files changed, 5 insertions, 19 deletions
diff --git a/Makefile b/Makefile
index 4686c96cb64..e5172eb8a5c 100644
--- a/Makefile
+++ b/Makefile
@@ -188,18 +188,7 @@ help:
@echo " run-release - run release binary"
@echo " debug - run debug binary with debugger"
@echo " debug-release - run release binary with debugger"
- @echo " test - build and run (basic) functional tests"
- @echo " test-debug - build and run (basic) functional tests (debug build)"
- @echo " test-all - build and run functional and extended tests"
- @echo " test-all-debug - build and run functional and extended tests (debug build)"
- @echo " test-gcov - build and run functional tests (gcov build)"
- @echo " test-shell - enter shell with test environment"
- @echo " test-shell-debug - enter shell with test environment (debug build)"
- @echo " test-wipe - wipe files generated by unit tests"
- @echo " retest - run functional tests"
- @echo " retest-debug - run functional tests (debug build)"
- @echo " test-all - run functional and extended tests"
- @echo " test-all-debug - run functional and extended tests (debug build)"
+ @echo " test - build and run tests"
@echo " test-help - show help on test framework"
@echo " run-vat - run vpp-api-test tool"
@echo " pkg-deb - build DEB packages"
@@ -225,13 +214,6 @@ help:
@echo " docs - Build the Sphinx documentation"
@echo " docs-venv - Build the virtual environment for the Sphinx docs"
@echo " docs-clean - Remove the generated files from the Sphinx docs"
- @echo " test-doc - generate documentation for test framework"
- @echo " test-wipe-doc - wipe documentation for test framework"
- @echo " test-cov - generate code coverage report for test framework"
- @echo " test-wipe-cov - wipe code coverage report for test framework"
- @echo " test-wipe-papi - wipe test framework papi test code"
- @echo " test-checkstyle - check PEP8 compliance for test framework"
- @echo " test-refresh-deps - refresh the Python dependencies for the tests"
@echo ""
@echo "Make Arguments:"
@echo " V=[0|1] - set build verbosity level"
@@ -494,6 +476,10 @@ test-cov:
test-wipe-cov:
@make -C test wipe-cov
+.PHONY: test-wipe-all
+test-wipe-all:
+ @make -C test wipe-all
+
.PHONY: test-checkstyle
test-checkstyle:
@make -C test checkstyle