systemc: Add a --working-dir option to the test config.py.
authorGabe Black <gabeblack@google.com>
Tue, 28 Aug 2018 03:20:40 +0000 (20:20 -0700)
committerGabe Black <gabeblack@google.com>
Wed, 26 Sep 2018 00:03:44 +0000 (00:03 +0000)
commit457a086235862f8e01dfe0dad1177a756535ec51
treeaec2899b9c0a184943908f95555be047495ed611
parent542f62aa6f285c51119ce281bd76781b8b6e0776
systemc: Add a --working-dir option to the test config.py.

The tests expect to be run from a certain directory. Generally that
doesn't matter, but in at least one case the test opens a file with a
relative path, and that doesn't work unless CWD is what it expects.

Change-Id: I34c0ed975e77daed50ace4f7eebd034bf04c5595
Reviewed-on: https://gem5-review.googlesource.com/12271
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/systemc/tests/config.py