make test: split into basic and extended tests 56/5656/2
authorKlement Sekera <ksekera@cisco.com>
Tue, 7 Mar 2017 10:39:27 +0000 (11:39 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 8 Mar 2017 21:56:59 +0000 (21:56 +0000)
commit871349371a62f1f20b159b6afead8e84f8a2322b
tree99c0cbf5bbfcbcee36e348e6adb87f941b6f6c5a
parentd96bad8ceb2ca0b798434619c5c5d1a199ec6382
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>
Makefile
test/Makefile
test/framework.py
test/test_bfd.py