Gabe Black has uploaded this change for review. ( https://gem5-review.googlesource.com/6001

Change subject: tests: Fix the stats unit test.
......................................................................

tests: Fix the stats unit test.

This has been broken since February. The interface for opening
initializing where the stats output should go was changed, but the
test wasn't updated.

Change-Id: I54bd8be15bf870352d5fcfad95ded28d87c7cc5a
---
M src/unittest/stattestmain.py
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/src/unittest/stattestmain.py b/src/unittest/stattestmain.py
index 70fef59..60b041c 100644
--- a/src/unittest/stattestmain.py
+++ b/src/unittest/stattestmain.py
@@ -6,7 +6,7 @@

     # Initialize the global statistics
     m5.stats.initSimStats()
-    m5.stats.initText("cout")
+    m5.stats.addStatVisitor("cout")

     # We're done registering statistics.  Enable the stats package now.
     m5.stats.enable()

--
To view, visit https://gem5-review.googlesource.com/6001
To unsubscribe, or for help writing mail filters, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I54bd8be15bf870352d5fcfad95ded28d87c7cc5a
Gerrit-Change-Number: 6001
Gerrit-PatchSet: 1
Gerrit-Owner: Gabe Black <gabebl...@google.com>
_______________________________________________
gem5-dev mailing list
gem5-dev@gem5.org
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to