systemc: Add a dummy argv[0] when running the tests.
authorGabe Black <gabeblack@google.com>
Wed, 12 Dec 2018 08:17:46 +0000 (00:17 -0800)
committerGabe Black <gabeblack@google.com>
Wed, 9 Jan 2019 01:34:39 +0000 (01:34 +0000)
commit8c560b6c80e641a1937d9af98cb75588ec4eac05
treeeccc63109a8b2e44f105d15e0aedfe16d75328d0
parent370b103d6d8f1aed0294525105ed0b9497b28521
systemc: Add a dummy argv[0] when running the tests.

One TLM test will complain if argc isn't 1 or 2, assuming that that
must mean that argc > 2. If it's 0 then the test will also complain and
fail. We therefore need to pass it at least a dummy value in argv/argc.

Change-Id: I5c64856f46d1459d7238e88ad8ba06933c7c38b8
Reviewed-on: https://gem5-review.googlesource.com/c/15065
Reviewed-by: Anthony Gutierrez <anthony.gutierrez@amd.com>
Maintainer: Anthony Gutierrez <anthony.gutierrez@amd.com>
src/systemc/tests/config.py