systemc: Stop passing arguments to sc_main.
authorGabe Black <gabeblack@google.com>
Sat, 6 Oct 2018 23:44:32 +0000 (16:44 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 16 Oct 2018 01:05:32 +0000 (01:05 +0000)
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 <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/systemc/tests/config.py

index 79a63382b0112b9cabc120dedd978f7faa0408ea..7f8d84057d8c420658439f5204641739dbc1183a 100755 (executable)
@@ -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)