From: Gabe Black Date: Sat, 6 Oct 2018 23:44:32 +0000 (-0700) Subject: systemc: Stop passing arguments to sc_main. X-Git-Tag: v19.0.0.0~1508 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a2ace7c5da5935eef2cf32527df954547de2d8b;p=gem5.git 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 --- 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)