summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-14 12:02:08 -0700
committerJosh Blum <josh@joshknows.com>2010-07-14 12:02:08 -0700
commit959669e383c75fdcbd11091466516bd5af66cfb5 (patch)
treee98318ddddb4bf1d342bd9c0f77ca4988bd3510c
parenta507bc0b4fa2428ae5ebec9fe145e8143289f3d0 (diff)
downloaduhd-959669e383c75fdcbd11091466516bd5af66cfb5.tar.gz
uhd-959669e383c75fdcbd11091466516bd5af66cfb5.tar.bz2
uhd-959669e383c75fdcbd11091466516bd5af66cfb5.zip
uhd: disable cid testing in vrt unit test (not supported)
-rw-r--r--host/test/vrt_test.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/host/test/vrt_test.cpp b/host/test/vrt_test.cpp
index b90b2fc15..9e131a10b 100644
--- a/host/test/vrt_test.cpp
+++ b/host/test/vrt_test.cpp
@@ -95,11 +95,13 @@ BOOST_AUTO_TEST_CASE(test_with_sid){
pack_and_unpack(if_packet_info);
}
+static const bool cid_enb = false;
+
BOOST_AUTO_TEST_CASE(test_with_cid){
vrt::if_packet_info_t if_packet_info;
if_packet_info.packet_count = 2;
if_packet_info.has_sid = false;
- if_packet_info.has_cid = true;
+ if_packet_info.has_cid = cid_enb;
if_packet_info.has_tsi = false;
if_packet_info.has_tsf = false;
if_packet_info.has_tlr = false;
@@ -126,7 +128,7 @@ BOOST_AUTO_TEST_CASE(test_with_all){
vrt::if_packet_info_t if_packet_info;
if_packet_info.packet_count = 4;
if_packet_info.has_sid = true;
- if_packet_info.has_cid = true;
+ if_packet_info.has_cid = cid_enb;
if_packet_info.has_tsi = true;
if_packet_info.has_tsf = true;
if_packet_info.has_tlr = false;