Re: [Discuss-gnuradio] Why are tests getting run twice?

2015-10-15 Thread Martin Braun
On 15.10.2015 07:05, Tom Rondeau wrote: > The first test outputs to the console. The second output to the XML > file, which we use in our CI system to monitor behavior. The testing > system, that I know of, doesn't allow for both at one time. > > Why do you care if it runs once or twice? If it run

Re: [Discuss-gnuradio] Why are tests getting run twice?

2015-10-15 Thread M. Ranganathan
My sink block captures data in fixed size timestamped files. If the test runs twice, when I go to check, I have twice the amount of data captured as what I read from the file source. I was looking everywhere for bugs before I concluded the test was being run twice by the test framework, but now tha

Re: [Discuss-gnuradio] Why are tests getting run twice?

2015-10-15 Thread Tom Rondeau
On Thu, Oct 15, 2015 at 9:39 AM, M. Ranganathan wrote: > Hello, > > I generated a simple file sink block along with qa python tests. When I > ran the test cases, I noticed that the test tool runs the test twice. Code > is small enough that I am taking the liberty of posting it here: > > > class

[Discuss-gnuradio] Why are tests getting run twice?

2015-10-15 Thread M. Ranganathan
Hello, I generated a simple file sink block along with qa python tests. When I ran the test cases, I noticed that the test tool runs the test twice. Code is small enough that I am taking the liberty of posting it here: class qa_capture_sink (gr_unittest.TestCase): def setUp (self):