aboutsummaryrefslogtreecommitdiffstats
path: root/host/test/error_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-05-03 11:30:17 +0000
committerJosh Blum <josh@joshknows.com>2010-05-03 11:30:17 +0000
commit2e222f4a77df389551d08b42a1bf947487d1442f (patch)
treee2c9018e3471591e0a912955a16a030d59f808bd /host/test/error_test.cpp
parentf92582169e35f96a945f745ce46326230b25888d (diff)
downloaduhd-2e222f4a77df389551d08b42a1bf947487d1442f.tar.gz
uhd-2e222f4a77df389551d08b42a1bf947487d1442f.tar.bz2
uhd-2e222f4a77df389551d08b42a1bf947487d1442f.zip
spi working, talked to ad9522
Diffstat (limited to 'host/test/error_test.cpp')
-rw-r--r--host/test/error_test.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/host/test/error_test.cpp b/host/test/error_test.cpp
index c5b0af45e..3f2479f99 100644
--- a/host/test/error_test.cpp
+++ b/host/test/error_test.cpp
@@ -17,7 +17,7 @@
#include <boost/test/unit_test.hpp>
#include <uhd/utils/assert.hpp>
-#include <boost/exception/diagnostic_information.hpp>
+//#include <boost/exception/diagnostic_information.hpp>
#include <vector>
#include <iostream>
@@ -30,11 +30,12 @@ BOOST_AUTO_TEST_CASE(test_assert_has){
//verify the std::has utility
BOOST_CHECK(std::has(vec, 2));
BOOST_CHECK(not std::has(vec, 1));
-
+/*
std::cout << "The output of the assert_has error:" << std::endl;
try{
uhd::assert_has(vec, 1, "prime");
}catch(const boost::exception &e){
std::cout << boost::diagnostic_information(e) << std::endl;
}
+*/
}