Sean Wilson has submitted this change and it was merged. ( https://gem5-review.googlesource.com/3795 )

Change subject: tests: Fix a typo for the default MI_example protocol
......................................................................

tests: Fix a typo for the default MI_example protocol

Change-Id: I1c88ba45e4fee3c254db06cac46045dfe6e68524
Signed-off-by: Sean Wilson <[email protected]>
Reviewed-on: https://gem5-review.googlesource.com/3795
Reviewed-by: Jason Lowe-Power <[email protected]>
Reviewed-by: Nikos Nikoleris <[email protected]>
Maintainer: Jason Lowe-Power <[email protected]>
---
M tests/testing/tests.py
1 file changed, 1 insertion(+), 4 deletions(-)

Approvals:
  Jason Lowe-Power: Looks good to me, approved; Looks good to me, approved
  Nikos Nikoleris: Looks good to me, approved



diff --git a/tests/testing/tests.py b/tests/testing/tests.py
index a83f598..839eb96 100755
--- a/tests/testing/tests.py
+++ b/tests/testing/tests.py
@@ -166,10 +166,7 @@
 }

 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")

--
To view, visit https://gem5-review.googlesource.com/3795
To unsubscribe, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I1c88ba45e4fee3c254db06cac46045dfe6e68524
Gerrit-Change-Number: 3795
Gerrit-PatchSet: 6
Gerrit-Owner: Sean Wilson <[email protected]>
Gerrit-Reviewer: Andreas Sandberg <[email protected]>
Gerrit-Reviewer: Jason Lowe-Power <[email protected]>
Gerrit-Reviewer: Nikos Nikoleris <[email protected]>
Gerrit-Reviewer: Sean Wilson <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to