From: Sean Wilson Date: Thu, 15 Jun 2017 16:56:13 +0000 (-0500) Subject: tests: Fix a typo for the default MI_example protocol X-Git-Tag: v19.0.0.0~2744 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=460afbbdfd987c221c04268929095615b56670b4;p=gem5.git tests: Fix a typo for the default MI_example protocol Change-Id: I1c88ba45e4fee3c254db06cac46045dfe6e68524 Signed-off-by: Sean Wilson Reviewed-on: https://gem5-review.googlesource.com/3795 Reviewed-by: Jason Lowe-Power Reviewed-by: Nikos Nikoleris Maintainer: Jason Lowe-Power --- 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")