tests: Migrated refcnt.cc test from src/unitttest to a gtest
authorBobby R. Bruce <bbruce@ucdavis.edu>
Tue, 8 Oct 2019 21:03:49 +0000 (14:03 -0700)
committerBobby R. Bruce <bbruce@ucdavis.edu>
Wed, 9 Oct 2019 19:14:40 +0000 (19:14 +0000)
commit0a2e6152a71d4d5465d5941d73df80381a97e365
tree9dba81e1003c479093e5ee5dea8d93529746cd84
parente1a97946510dd5551f2adf4d7367a954cb34330b
tests: Migrated refcnt.cc test from src/unitttest to a gtest

refcnt.cc was previously tested in src/unittest/refcnttest.cc. This has
now been translated into a GTest as faithfully to the original as
possible.

Change-Id: I51f7a3d1e0a85b128c4eebd97cfe79b87406dc29
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/21499
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/SConscript
src/base/refcnt.test.cc [new file with mode: 0644]
src/unittest/refcnttest.cc [deleted file]