From f41b617b347b6549d213482d0c75ddeadcf19a29 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Fri, 22 Jul 2011 14:33:30 -0700 Subject: uhd: added helpful UHD_VAR macro for debugging purposes --- host/tests/msg_test.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'host/tests/msg_test.cpp') diff --git a/host/tests/msg_test.cpp b/host/tests/msg_test.cpp index c05139ea9..94b81268c 100644 --- a/host/tests/msg_test.cpp +++ b/host/tests/msg_test.cpp @@ -33,5 +33,8 @@ BOOST_AUTO_TEST_CASE(test_messages){ "This is a test print for an error message.\n" "And this is the second line of the test print.\n" ; + UHD_HERE(); + const int x = 42; + UHD_VAR(x); std::cerr << "---end print test ---" << std::endl; } -- cgit v1.2.3