Setup, teardown, DEBUG=core, FAILFAST fixes 30/14930/9
authorjuraj.linkes <juraj.linkes@pantheon.tech>
Fri, 21 Sep 2018 11:55:16 +0000 (13:55 +0200)
committerDamjan Marion <dmarion@me.com>
Wed, 10 Oct 2018 16:05:37 +0000 (16:05 +0000)
commit40dd73bcfa7625773e1e0cc049134f9d7107bccc
tree478bc498d60aa2292552a1eb97461b81b2a1a17d
parent825fc4892ee7ec3cff83b2754cd921c0157e62f8
Setup, teardown, DEBUG=core, FAILFAST fixes

- Fixed a bug when an error occuring in tearDownClass would not result in
test being marked as failed
- Improved test results reporting in cases when an error occurs in setUpClass
and tearDownClass
- Fixed DEBUG=core when the core is produced in setUpClass or
tearDownClass
- Reworked DEBUG=core to always be handled after all tests have been
executed
- Fixed FAILFAST=1 for parallel test runs

Change-Id: I3e9cd3b97ba6fa802fa0aa2dd7678ff82eee09ec
Signed-off-by: juraj.linkes <juraj.linkes@pantheon.tech>
test/debug.py
test/framework.py
test/hook.py
test/run_tests.py
test/util.py