summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/systemc/tests/config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/systemc/tests/config.py b/src/systemc/tests/config.py
index ebdd5cd47..cd7c29e53 100755
--- a/src/systemc/tests/config.py
+++ b/src/systemc/tests/config.py
@@ -47,13 +47,13 @@ args = parser.parse_args()
if args.working_dir:
os.chdir(args.working_dir)
-kernel.sc_main('gem5_systemc_test');
+m5.systemc.sc_main('gem5_systemc_test');
m5.instantiate(None)
cause = m5.simulate(m5.MaxTick).getCause()
-result = kernel.sc_main_result()
+result = m5.systemc.sc_main_result()
if result.code != 0:
# Arguably this should make gem5 fail, but some tests purposefully
# generate errors, and as long as their output matches that's still