From 460afbbdfd987c221c04268929095615b56670b4 Mon Sep 17 00:00:00 2001 From: Sean Wilson Date: Thu, 15 Jun 2017 11:56:13 -0500 Subject: [PATCH] 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 --- tests/testing/tests.py | 5 +---- 1 file changed, 1 insertion(+), 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") -- 2.30.2