summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-06 16:44:32 -0700
committerGabe Black <gabeblack@google.com>2018-10-16 01:05:32 +0000
commit7a2ace7c5da5935eef2cf32527df954547de2d8b (patch)
tree0fb3d25377ed7a17933ca71fc00bdab12dd2e855
parent82dd3c1d619ae0ab777685999da9a81e740368f5 (diff)
downloadgem5-7a2ace7c5da5935eef2cf32527df954547de2d8b.tar.xz
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 <gabeblack@google.com> Maintainer: Gabe Black <gabeblack@google.com>
-rwxr-xr-xsrc/systemc/tests/config.py2
1 files changed, 1 insertions, 1 deletions
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)