summaryrefslogtreecommitdiff
path: root/src/unittest
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2017-12-04 20:22:43 -0800
committerGabe Black <gabeblack@google.com>2017-12-06 01:14:52 +0000
commit7eb8d007a502d6c6d62eab590d71f6085aef78f9 (patch)
tree126343c64cd79fdababa821726a55213e751892c /src/unittest
parent3017314d05695207e09e87b08ca5c3cbf182c646 (diff)
downloadgem5-7eb8d007a502d6c6d62eab590d71f6085aef78f9.tar.xz
base: Split out the pixel class in framebuffer.(cc|hh).
These are really two separate things. Also, while it's realitively straightforward to write a unit test for the pixel conversion code, the framebuffer object is serializable and brings in more dependencies. Change-Id: If954caeb0bfedb1002cfb1a7a115a00c90d56d19 Reviewed-on: https://gem5-review.googlesource.com/6341 Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Diffstat (limited to 'src/unittest')
-rw-r--r--src/unittest/SConscript2
-rw-r--r--src/unittest/pixeltest.cc (renamed from src/unittest/fbtest.cc)0
2 files changed, 1 insertions, 1 deletions
diff --git a/src/unittest/SConscript b/src/unittest/SConscript
index 305d7c2cf..9892df845 100644
--- a/src/unittest/SConscript
+++ b/src/unittest/SConscript
@@ -35,7 +35,7 @@ Source('unittest.cc')
UnitTest('circlebuf', 'circlebuf.cc')
UnitTest('cprintftest', 'cprintftest.cc')
UnitTest('cprintftime', 'cprintftime.cc')
-UnitTest('fbtest', 'fbtest.cc')
+UnitTest('pixeltest', 'pixeltest.cc')
UnitTest('initest', 'initest.cc')
UnitTest('nmtest', 'nmtest.cc')
UnitTest('rangemaptest', 'rangemaptest.cc')
diff --git a/src/unittest/fbtest.cc b/src/unittest/pixeltest.cc
index 8a8f959ae..8a8f959ae 100644
--- a/src/unittest/fbtest.cc
+++ b/src/unittest/pixeltest.cc