summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/configs/switcheroo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/configs/switcheroo.py b/tests/configs/switcheroo.py
index c94dc7590..43bd5eba1 100644
--- a/tests/configs/switcheroo.py
+++ b/tests/configs/switcheroo.py
@@ -106,7 +106,7 @@ def run_test(root, switcher=None, freq=1000, verbose=False):
# Worse yet, they include the timestamp, which makes them highly
# variable and unsuitable for comparing as test outputs.
if not verbose:
- _m5.core.Logger.setLevel(_m5.core.Logger.WARN)
+ _m5.core.setLogLevel(_m5.core.LogLevel.WARN)
# instantiate configuration
m5.instantiate()