ext: Avoid specifying empty interfaces and embrace duck typing
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Wed, 10 Jun 2020 17:52:04 +0000 (18:52 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Thu, 18 Jun 2020 14:28:14 +0000 (14:28 +0000)
commit60453334e38c7cfdbd0179c5f6686915eaacf882
treececf48bf159a353f2b723bb77c6eca902290aa70
parent2e26b4a474092f1a4a14724c69f6e297fd28e768
ext: Avoid specifying empty interfaces and embrace duck typing

It turns out no handler is implementing

prehandle()
posthandle()

JIRA: https://gem5.atlassian.net/projects/GEM5/issues/GEM5-533

Change-Id: Ie8d92027f29fc33192fcf0d495fd3c4f6e4075aa
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/30217
Maintainer: Bobby R. Bruce <bbruce@ucdavis.edu>
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Hoa Nguyen <hoanguyen@ucdavis.edu>
ext/testlib/handlers.py
ext/testlib/log.py