summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorSean Wilson <spwilson2@wisc.edu>2017-06-15 11:56:13 -0500
committerSean Wilson <spwilson2@wisc.edu>2017-06-16 15:35:54 +0000
commit460afbbdfd987c221c04268929095615b56670b4 (patch)
tree1ed9c9cc324b4382819bc9a11806d43f20c8a986 /tests
parentfe7304ca1e834c67484b52fd180efad0027bbca5 (diff)
downloadgem5-460afbbdfd987c221c04268929095615b56670b4.tar.xz
tests: Fix a typo for the default MI_example protocol
Change-Id: I1c88ba45e4fee3c254db06cac46045dfe6e68524 Signed-off-by: Sean Wilson <spwilson2@wisc.edu> Reviewed-on: https://gem5-review.googlesource.com/3795 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'tests')
-rwxr-xr-xtests/testing/tests.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/testing/tests.py b/tests/testing/tests.py
index a83f5988b..839eb969f 100755
--- a/tests/testing/tests.py
+++ b/tests/testing/tests.py
@@ -166,10 +166,7 @@ default_ruby_protocol = {
}
def get_default_protocol(arch):
- try:
- return default_ruby_protocol[arch]
- except KeyError:
- return 'MI-example'
+ return default_ruby_protocol.get(arch, 'MI_example')
all_categories = ("quick", "long")
all_modes = ("fs", "se")