summaryrefslogtreecommitdiffstats
path: root/host/test/vrt_test.cpp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-07-14 22:13:54 +0000
committerJosh Blum <josh@joshknows.com>2010-07-14 22:13:54 +0000
commitf34c3ce69ca6ecac9dedf7c13804064b860d8463 (patch)
treefbd2855b45ff24bead6342375f87fe00abb20a05 /host/test/vrt_test.cpp
parent9ee1b33bbc170b2e76fbb5b9a075d6b6c7315a7e (diff)
parent959669e383c75fdcbd11091466516bd5af66cfb5 (diff)
downloaduhd-f34c3ce69ca6ecac9dedf7c13804064b860d8463.tar.gz
uhd-f34c3ce69ca6ecac9dedf7c13804064b860d8463.tar.bz2
uhd-f34c3ce69ca6ecac9dedf7c13804064b860d8463.zip
Merge branch 'master' of ettus.sourcerepo.com:ettus/uhdpriv into usrp_e
Diffstat (limited to 'host/test/vrt_test.cpp')
-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;