tests: Plumb dumps of the test trie into the gtest macros.
authorGabe Black <gabeblack@google.com>
Sun, 3 Dec 2017 09:53:18 +0000 (01:53 -0800)
committerGabe Black <gabeblack@google.com>
Tue, 12 Dec 2017 19:46:59 +0000 (19:46 +0000)
commitb031deda707e84abb68ba6f409910e0fad9f9a5f
tree32d32cb3f78d6c549a40685e32e1c0542d30454a
parent3297cd0f6ed9d6b5ad3bbbf477b9b74dfba5b472
tests: Plumb dumps of the test trie into the gtest macros.

With this change, when one of the tests fails, it will output a dump
of the trie data structure, making it a little easier to tell what
happened.

Change-Id: I0816ed727ef0b50fefd7ec485356b4fe8790bfe1
Reviewed-on: https://gem5-review.googlesource.com/6267
Maintainer: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/unittest/trietest.cc