diff options
author | Gabe Black <gabeblack@google.com> | 2018-11-21 17:51:46 -0800 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-11-29 01:23:11 +0000 |
commit | fed1a56919e31fc5d17cc2cdbebd758561e8766a (patch) | |
tree | 5ee9fa7f388bcbd78d1d761c14139c1eced49832 /tests/main.py | |
parent | e186f870896f9b32a324958f0fa06e45c79c0534 (diff) | |
download | gem5-fed1a56919e31fc5d17cc2cdbebd758561e8766a.tar.xz |
systemc: Run the systemc tests directly from their build directories.
We were previously running them from the current directory to start
with, and then having the config script switch to the build directory.
That worked, except when output streams might be opened as part of the
global constructors which would run before the config script.
This change makes us start from the build directory directly, making
the switch in the config script unnecessary and ensuring that no files
leak outside of the build when running tests.
Change-Id: I484168793bfc5abc4e5631fb3468733fb9d829af
Reviewed-on: https://gem5-review.googlesource.com/c/14519
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'tests/main.py')
0 files changed, 0 insertions, 0 deletions