discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] make test failure at qa_constellation_receiver


From: Alick Zhao
Subject: Re: [Discuss-gnuradio] make test failure at qa_constellation_receiver
Date: Mon, 16 Apr 2012 11:14:42 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1

On Sat, 14 Apr 2012 22:13:50 -0700, Ben Reynwar wrote:

> It appears that each test case is being run twice.  I think once to
> generate the xml output, and once to generate output for stdout and
> tell you whether it failed.  The random number generator isn't being
> reseeded at the start of each test so they can produce different
> results, so you can sometimes see debug statements that indicate it
> should fail, but the output to stdout claims that is passes.  I've
> attached a patch that make each test use it's own random number
> generating object which seems a tidier way to do this, and makes the
> tests repeatable.
> 
> Since there seem to be a fair number of choices of seed that produce
> an error fraction of over 0.2, I've also increased the acceptable
> error rate in the test to 0.3, as Alick initially suggested.
> 

Issue solved too. Thanks all for your help!

alick



reply via email to

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