Rewrite debug testing.
authorTim Newsome <tim@sifive.com>
Thu, 15 Sep 2016 20:11:56 +0000 (13:11 -0700)
committerTim Newsome <tim@sifive.com>
Thu, 15 Sep 2016 20:16:48 +0000 (13:16 -0700)
commitce10cc711f00df9fc97df39094c1cddd49ae212e
tree83f670b811d099b7d25a7d8c609e70c6e3e0bcda
parentd2aeeedd0727804bf3a7d07b5efb4d00b67f0f33
Rewrite debug testing.

No longer use unittest. Now tests can return not_applicable if eg. a
desired execution mode isn't implemented on a target. Also we do a
better job killing spike processes when a test fails.

Did a lot of code cleanup, partly by using pylint.

Fix the Makefile so that if the test fails, 'make' actually fails too.
debug/Makefile
debug/gdbserver.py
debug/pylint.rc [new file with mode: 0644]
debug/testlib.py