make test: add test framework debugging 25/10625/2
authorKlement Sekera <ksekera@cisco.com>
Sat, 17 Feb 2018 12:41:33 +0000 (13:41 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Sat, 17 Feb 2018 20:42:49 +0000 (20:42 +0000)
commitebbaf55e09cfe2a31d4bf2b2f6bc49eeb4e1d528
tree02f7092c9693f0fc7fe55925abaa8cf0d02c1351
parent545be52c793512a441d2bc7c1706b5f76466055e
make test: add test framework debugging

New option TEST_DEBUG=1 turns on test framework debugging, which
currently consists of printing difference in allocated objects/memory
and also creates reference graphs for any unfreed VppPapiProvider/VPP
objects - these take a lot of memory and thus should be freed regularly.

Change-Id: I29db0c1341009d4b5c5df9222d14f3095883fd0f
Signed-off-by: Klement Sekera <ksekera@cisco.com>
test/Makefile
test/debug_internal.py [new file with mode: 0644]
test/framework.py