From 7a2ace7c5da5935eef2cf32527df954547de2d8b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 6 Oct 2018 16:44:32 -0700 Subject: [PATCH] systemc: Stop passing arguments to sc_main. These arguments were originally just to make sure arguments could be successfully passed to sc_main, but serve no intrinsic purpose. There are some tests which can accept command line arguments to customize how they run, and having nonsense arguments confuses them and makes them behave incorrectly. Change-Id: Ib328edb12e01a97dca778bbf45b10e91dd8c07a6 Reviewed-on: https://gem5-review.googlesource.com/c/13317 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/systemc/tests/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systemc/tests/config.py b/src/systemc/tests/config.py index 79a63382b..7f8d84057 100755 --- a/src/systemc/tests/config.py +++ b/src/systemc/tests/config.py @@ -47,7 +47,7 @@ args = parser.parse_args() if args.working_dir: os.chdir(args.working_dir) -kernel.sc_main("Hello", "World"); +kernel.sc_main(); m5.instantiate(None) -- 2.30.2