summaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-07-22 14:33:30 -0700
committerJosh Blum <josh@joshknows.com>2011-07-22 14:33:30 -0700
commitf41b617b347b6549d213482d0c75ddeadcf19a29 (patch)
tree28cc47daa7910180a57526ff0d52193ec31531eb /host/tests
parentda40a1aebc16ca05219883c18b2cf96989c470fd (diff)
downloaduhd-f41b617b347b6549d213482d0c75ddeadcf19a29.tar.gz
uhd-f41b617b347b6549d213482d0c75ddeadcf19a29.tar.bz2
uhd-f41b617b347b6549d213482d0c75ddeadcf19a29.zip
uhd: added helpful UHD_VAR macro for debugging purposes
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/msg_test.cpp3
1 files changed, 3 insertions, 0 deletions
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;
}