[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Usrp2 unit tests + valgrind

From: Matt Ettus
Subject: Re: [Discuss-gnuradio] Usrp2 unit tests + valgrind
Date: Thu, 24 Dec 2009 13:03:26 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20091209 Fedora/3.0-4.fc12 Thunderbird/3.0

On 12/22/2009 01:54 PM, Gaetano Mendola wrote:
Hi all,
at the moment I'm following a project in where we use as
development technique the "test driven development".
We are using the libusrp2 as only component from gnuradio,
and what we are missing is a sort of Usrp2 simulator in
order to test our rx handlers. Does exist such component in

We don't have a USRP2 simulator, but it would certainly be a good thing to have.

I have seen you use as unit test framework CppUnit, lately
I have switched from CppUnit to gtest, is not hard to convert
the old CppUnit tests, I converted myself around 250 test
cases in a single day, having at the end more features like:
disable some tests, run a single one, repeat some tests
multiple time and other features you can read about it on
gtest documentation.

We'll have to take a look at gtest.  Is cppunit no longer developed?

Running our application under valgrind (3.5.0) no usrp2 is found,
anyone has an idea why?

This may be a permissions problem. You need to have root access for raw ethernet.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]