diff options
author | Josh Blum <josh@joshknows.com> | 2010-01-29 19:22:40 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-01-29 19:22:40 -0800 |
commit | 5e455ca92280e3c22f5484cb81a2aef0cdfb5de4 (patch) | |
tree | d32d5aeebbef8fc2d15c42b281c893940f7f6b5b /test | |
parent | aa2c904d7a6dad83f4a516a5a38ee9e765b9dfac (diff) | |
download | uhd-5e455ca92280e3c22f5484cb81a2aef0cdfb5de4.tar.gz uhd-5e455ca92280e3c22f5484cb81a2aef0cdfb5de4.tar.bz2 uhd-5e455ca92280e3c22f5484cb81a2aef0cdfb5de4.zip |
Minimal framework in place to handle udp discovery.
Added usrp2 stuff, udp wrapper, discovery function.
Added app called discover usrps (usrp2 only for now).
Diffstat (limited to 'test')
-rw-r--r-- | test/Makefile.am | 4 | ||||
-rw-r--r-- | test/addr_test.cpp | 9 |
2 files changed, 1 insertions, 12 deletions
diff --git a/test/Makefile.am b/test/Makefile.am index a18683045..83214efec 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -21,9 +21,7 @@ SUBDIRS = if HAVE_UNIT_TEST -AM_CPPFLAGS = \ - $(GENERAL_CPPFLAGS) \ - $(CPPUNIT_CFLAGS) +AM_CPPFLAGS = $(GENERAL_CPPFLAGS) LDADD = \ $(GENERAL_LDDFLAGS) \ diff --git a/test/addr_test.cpp b/test/addr_test.cpp index d3e18c714..c5823cc65 100644 --- a/test/addr_test.cpp +++ b/test/addr_test.cpp @@ -26,12 +26,3 @@ BOOST_AUTO_TEST_CASE(test_mac_addr){ std::cout << "Output: " << mac_addr << std::endl; BOOST_CHECK_EQUAL(mac_addr_str, mac_addr.to_string()); } - -BOOST_AUTO_TEST_CASE(test_ip_addr){ - std::cout << "Testing ip addr..." << std::endl; - const std::string ip_addr_str("192.168.1.10"); - usrp_uhd::ip_addr_t ip_addr(ip_addr_str); - std::cout << "Input: " << ip_addr_str << std::endl; - std::cout << "Output: " << ip_addr << std::endl; - BOOST_CHECK_EQUAL(ip_addr_str, ip_addr.to_string()); -} |