summaryrefslogtreecommitdiff
path: root/tests/run.py
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-01-10 03:56:42 -0800
committerGabe Black <gblack@eecs.umich.edu>2011-01-10 03:56:42 -0800
commitdc64732dee916535b555cbddf4c7590c14e72b9e (patch)
tree09c3b2b442d9205392c477e785409bdfe37de4be /tests/run.py
parent6f1187943cf78c2fd0334bd7e4372ae79a587fa4 (diff)
downloadgem5-dc64732dee916535b555cbddf4c7590c14e72b9e.tar.xz
RefCount: Add a unit test for reference counting pointers.
This test exercises each of the functions in the reference counting pointer implementation individually (except get()) and verifies they have some minimially expected behavior. It also checks that reference counted objects are freed when their usage count goes to 0 in some basic situations, specifically a pointer being set to NULL and a pointer being deleted.
Diffstat (limited to 'tests/run.py')
0 files changed, 0 insertions, 0 deletions