base: Add unit test for debug.hh
authorDaniel R. Carvalho <odanrc@yahoo.com.br>
Fri, 25 Dec 2020 18:56:18 +0000 (15:56 -0300)
committerDaniel Carvalho <odanrc@yahoo.com.br>
Fri, 15 Jan 2021 11:45:30 +0000 (11:45 +0000)
commit3f0cd995bf1990b46b999d020c5fb022925b8e32
tree9269f3faad96556c361f176432fa023e34ebcdee
parenta4657f1b84f5deeb1573b01989eb3f2818c13f43
base: Add unit test for debug.hh

Add unit tests for the functions and classes in debug.hh.

breakpoint() is not being tested.

Change-Id: I1ae7318a043aa9dc479d4f970c1fd6c9946f4357
Signed-off-by: Daniel R. Carvalho <odanrc@yahoo.com.br>
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38710
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/base/SConscript
src/base/debug.cc
src/base/debug.test.cc [new file with mode: 0644]