Friday, June 22, 2012

Re: [Discuss-gnuradio] gr-filter tests

<testsuite errors="0" failures="1" name="unittest.suite.TestSuite" tests="1" time="0.014">
<testcase classname="__main__.test_pfb_channelizer" name="test_000" time="0.0140">
<failure type="exceptions.AssertionError">(-0.9921348736850316-0.12517344933326072j) != (-0.9921236038208008-0.1252521276473999j) within 4 places
File "/usr/lib/python2.7/unittest/case.py", line 327, in run
testMethod()
File "/home/braun/src/gnuradio/gr-filter/python/qa_pfb_channelizer.py", line 99, in test_000
self.assertComplexTuplesAlmostEqual(expected2_data[-Ntest:], dst2_data[-Ntest:], 4)
File "/home/braun/src/gnuradio/gnuradio-core/src/python/gnuradio/gr_unittest.py", line 71, in assertComplexTuplesAlmostEqual
self.assertComplexAlmostEqual (a[i], b[i], places, msg)
File "/home/braun/src/gnuradio/gnuradio-core/src/python/gnuradio/gr_unittest.py", line 47, in assertComplexAlmostEqual
(msg or '%s != %s within %s places' % (`first`, `second`, `places` ))
</failure>
</testcase>
<system-out><![CDATA[]]></system-out>
<system-err><![CDATA[]]></system-err>
</testsuite>
On Thu, Jun 21, 2012 at 11:18:36PM -0400, Tom Rondeau wrote:
> So if you run 'make test' after getting the most recent master branch
> and you see any test failures, let me know. If you get failures, the
> first thing to do is run "volk_profile". This is a program that is
> installed into $prefix/bin that will test all Volk kernels and select
> the fastest version for your machine. Rerun 'make test' and let me
> know if this fixes any problems. If you still have problems, please
> send me the unit test output files found at
> $builddir/gr-filter/lib/.unittests/gr_filter.xml and
> $builddir/gr-filter/python/unittests/python/tests_*.xml. That should
> help me get an understanding for what's going wrong.

pfb_channelizer fails here (on a 32-bit Ubuntu), before and after
volk_profile (XML attached). It's a very close mismatch of floats,
though.

I'll try this on a different machine later.

M

--
Karlsruhe Institute of Technology (KIT)
Communications Engineering Lab (CEL)

Dipl.-Ing. Martin Braun
Research Associate

Kaiserstraße 12
Building 05.01
76131 Karlsruhe

Phone: +49 721 608-43790
Fax: +49 721 608-46071
www.cel.kit.edu

KIT -- University of the State of Baden-Württemberg and
National Laboratory of the Helmholtz Association

No comments:

Post a Comment