harness: cleanup tests to not override is_finished() where possible
authorSimon Gerber <simon.gerber@inf.ethz.ch>
Wed, 10 May 2017 13:49:33 +0000 (15:49 +0200)
committerSimon Gerber <simon.gerber@inf.ethz.ch>
Fri, 2 Jun 2017 07:10:35 +0000 (09:10 +0200)
commit72ef657237bac98390d9d9b6b2854e81c8c812b2
tree3361cdf05d894d388e144352ff5e6dbd688583c8
parentbf4c775928acf905eaa0ea1f7161eb4cb43aaf7b
harness: cleanup tests to not override is_finished() where possible

If is_finished() cannot be converted into get_finish_string(), i.e.
is_finished() is a condition that depends on multiple output lines make sure
we call super().is_finished(line) on every line so that we catch Assertion
errors etc. that are checked for in TestCommon.is_finished().

Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
13 files changed:
tools/harness/tests/TimerTest.py
tools/harness/tests/basicNetwork.py
tools/harness/tests/blk_tests.py
tools/harness/tests/caps_next.py
tools/harness/tests/devif_test.py
tools/harness/tests/echoserver.py
tools/harness/tests/irqtest.py
tools/harness/tests/memtest.py
tools/harness/tests/mt_waitset.py
tools/harness/tests/spantest.py
tools/harness/tests/spawntest.py
tools/harness/tests/webserver.py
tools/harness/tests/xeonphi.py