diff options
author | Klement Sekera <ksekera@cisco.com> | 2017-03-07 11:39:27 +0100 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2017-03-08 21:56:59 +0000 |
commit | 871349371a62f1f20b159b6afead8e84f8a2322b (patch) | |
tree | 99c0cbf5bbfcbcee36e348e6adb87f941b6f6c5a /test/Makefile | |
parent | d96bad8ceb2ca0b798434619c5c5d1a199ec6382 (diff) |
make test: split into basic and extended tests
Implement plumbing to allow decorating tests as extended, e.g.:
@unittest.skipUnless(running_extended_tests(), "part of extended tests")
both methods and classes can be decorated this way.
Change make test and make test-debug to run only non-extended tests.
Introduce make test-all and make test-all-debug to run the full suite.
Run full suite as part of make verify.
Decorate most BFD tests as extended.
Change-Id: I3bc64f59e9fe238f7f767d7e043dc165d03e9dfa
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Diffstat (limited to 'test/Makefile')
-rw-r--r-- | test/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/Makefile b/test/Makefile index 52980b9e8b9..1bb3c6c28ae 100644 --- a/test/Makefile +++ b/test/Makefile @@ -119,8 +119,10 @@ checkstyle: verify-python-path help: @echo "Running tests:" @echo "" - @echo " test - build and run functional tests" - @echo " test-debug - build and run functional tests (debug build)" + @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 " retest - run functional tests" @echo " retest-debug - run functional tests (debug build)" @echo " test-wipe - wipe (temporary) files generated by unit tests" |