summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBobby R. Bruce <bbruce@ucdavis.edu>2019-12-11 15:47:36 -0800
committerBobby R. Bruce <bbruce@ucdavis.edu>2019-12-17 05:02:15 +0000
commit3ca752c4d9dbaa32d041c42f6524cf1aee95a8f3 (patch)
tree9da3a9a0a08429caaffc42ae428f7e4e8c126981 /src
parentbc65d49ce3e46485711567bab697f98db271adc5 (diff)
downloadgem5-3ca752c4d9dbaa32d041c42f6524cf1aee95a8f3.tar.xz
scons: Added channel_addr.cc dependency to channel_addr GTest
In some circumstances not including channel_addr.cc as a dependency for the channel_addr.test compilation resulted in a build failure (this was observed in gem5's Kokoro CI system). This commit fixes this problem. Change-Id: Ic38a104a1e6bf655fc64158b556e6227d5ac3981 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23603 Reviewed-by: Daniel Carvalho <odanrc@yahoo.com.br> Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com> Tested-by: kokoro <noreply+kokoro@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/base/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base/SConscript b/src/base/SConscript
index e2a3215d0..818428ee5 100644
--- a/src/base/SConscript
+++ b/src/base/SConscript
@@ -98,7 +98,7 @@ if env['USE_HDF5']:
GTest('addr_range.test', 'addr_range.test.cc')
GTest('addr_range_map.test', 'addr_range_map.test.cc')
GTest('bitunion.test', 'bitunion.test.cc')
-GTest('channel_addr.test', 'channel_addr.test.cc')
+GTest('channel_addr.test', 'channel_addr.test.cc', 'channel_addr.cc')
GTest('circlebuf.test', 'circlebuf.test.cc')
GTest('circular_queue.test', 'circular_queue.test.cc')
GTest('sat_counter.test', 'sat_counter.test.cc')