summaryrefslogtreecommitdiff
path: root/src/systemc/tests
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2019-02-09 01:37:48 -0800
committerGabe Black <gabeblack@google.com>2019-02-11 07:33:50 +0000
commit8174d7c87b5a966ef3d7aa469923fc9a44f680fa (patch)
tree58c5e0f601c3cc4eecff3aad292f2b666037b1c8 /src/systemc/tests
parentda6e8b000353d6dc7ed4bd9400556d872ee179ce (diff)
downloadgem5-8174d7c87b5a966ef3d7aa469923fc9a44f680fa.tar.xz
scons: Change an = to a += when accumulating sources from filters.
The loop accidentally used a = when it should have used a +=, meaning only the sources from the final filter would be used. Change-Id: Ie066a5f85696f05d9ad3cf61f928b12deb39475b Reviewed-on: https://gem5-review.googlesource.com/c/16285 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Gabe Black <gabeblack@google.com>
Diffstat (limited to 'src/systemc/tests')
-rw-r--r--src/systemc/tests/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemc/tests/SConscript b/src/systemc/tests/SConscript
index 2d713a0d8..3b0c7c3f5 100644
--- a/src/systemc/tests/SConscript
+++ b/src/systemc/tests/SConscript
@@ -91,7 +91,7 @@ if env['USE_SYSTEMC']:
env = env.Clone()
sources = list(self.sources)
for f in self.filters:
- sources = Source.all.apply_filter(f)
+ sources += Source.all.apply_filter(f)
objs = self.srcs_to_objs(env, sources)
objs = objs + env['MAIN_OBJS']
relpath = os.path.relpath(