From 9651c0278d93bf5c4620e198baac975f0c84e9a0 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 21 Nov 2017 16:52:48 -0800 Subject: [PATCH] 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 Reviewed-on: https://gem5-review.googlesource.com/6001 Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/unittest/stattestmain.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unittest/stattestmain.py b/src/unittest/stattestmain.py index 70fef59be..60b041cd3 100644 --- a/src/unittest/stattestmain.py +++ b/src/unittest/stattestmain.py @@ -6,7 +6,7 @@ def main(): # 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() -- 2.30.2