interface: dump the interface device type
[vpp.git] / test / Makefile
index 66c8f8a..025f865 100644 (file)
@@ -191,9 +191,7 @@ sanity: verify-no-running-vpp
 
 .PHONY: ext
 ext:
-       @if [ "$(EXTENDED_TESTS)" = "yes" ]; then\
-               make -C ext;\
-       fi
+       make -C ext
 
 test-dep: verify-test-dir $(PAPI_INSTALL_DONE)
 
@@ -269,7 +267,7 @@ checkstyle: verify-test-dir
        @virtualenv $(VENV_PATH) -p python3
        @bash -c "source $(VENV_PATH)/bin/activate && python3 -m pip install pycodestyle"
        @bash -c "source $(VENV_PATH)/bin/activate &&\
-               pycodestyle --show-source --ignore=W504,E126,E241,E226,E305,E704,E741,E722 --exclude=$(WS_ROOT)/test/_*.py -v $(WS_ROOT)/test/*.py ||\
+               pycodestyle --show-source --ignore=W504,E126,E241,E226,E305,E704,E741,E722 --exclude=$(WS_ROOT)/test/_*.py -v $(WS_ROOT)/test/*.py $(PLUGIN_SRC_DIR)/*/test/*.py ||\
                (echo \"*******************************************************************\" &&\
                 echo \"* Test framework PEP8 compliance check FAILED \" &&\
                 echo \"*******************************************************************\" &&\
@@ -283,8 +281,8 @@ help:
        @echo ""
        @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 (all) functional tests"
-       @echo " test-all-debug      - build and run (all) 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 " retest              - run functional tests"
        @echo " retest-debug        - run functional tests (debug build)"
        @echo " papi-wipe           - rebuild vpp_papi sources"
@@ -309,7 +307,7 @@ help:
        @echo "                        same as above"
        @echo " STEP=[yes|no]        - ease debugging by stepping through a testcase"
        @echo " SANITY=[yes|no]      - perform sanity import of vpp-api/sanity vpp run before running tests (default: yes)"
-       @echo " EXTENDED_TESTS=[1|y] - run extended tests"
+       @echo " EXTENDED_TESTS=[1|y] - used by 'test-all' & 'test-all-debug' to run extended tests"
        @echo " TEST=<filter>        - filter the set of tests:"
        @echo "    by file-name      - only run tests from specified file, e.g. TEST=test_bfd selects all tests from test_bfd.py"
        @echo "    by file-suffix    - same as file-name, but 'test_' is omitted e.g. TEST=bfd selects all tests from test_bfd.py"