diff options
author | Bobby R. Bruce <bbruce@ucdavis.edu> | 2019-11-12 18:57:36 -0800 |
---|---|---|
committer | Bobby R. Bruce <bbruce@ucdavis.edu> | 2019-11-21 20:28:16 +0000 |
commit | cbdf361f3f10ddfc351c24a1baab85a648d5e16d (patch) | |
tree | f5ec221fdfcf84ff688520d94a5c858edcc93c6c /src/base/SConscript | |
parent | fb888a48f58a7b2b44fa4f63f7492e9d59eb167f (diff) | |
download | gem5-cbdf361f3f10ddfc351c24a1baab85a648d5e16d.tar.xz |
test,base: Added GTest for base/loader/image_file_data.cc
image_file_data.cc reads an image file, or an image file compressed with
gzip. Mock image file data, and that data in a gzipped state, has been
included in base/loader/small_image_file.test.hh to aid testing.
Change-Id: I69691b93ca03c34d6bd736cbc5c6503115bd7b3f
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/22743
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/base/SConscript')
-rw-r--r-- | src/base/SConscript | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/base/SConscript b/src/base/SConscript index a01146384..c9162b472 100644 --- a/src/base/SConscript +++ b/src/base/SConscript @@ -84,6 +84,8 @@ Source('loader/dtb_file.cc') Source('loader/ecoff_object.cc') Source('loader/elf_object.cc') Source('loader/image_file_data.cc') +GTest('loader/image_file_data.test', 'loader/image_file_data.test.cc', +'loader/image_file_data.cc') Source('loader/memory_image.cc') Source('loader/object_file.cc') Source('loader/symtab.cc') |