Forum: GNU Radio grextras "make test" failure

Posted by Rick Graham (Guest)
on 2012-10-12 23:07
(Received via mailing list)
Is this a cause for concern?

[from "ctest -V"]
    Start 4: qa_noise_source

4: Test command: /bin/sh
"/usr/local/src/build-gnuradio/grextras/build/python/qa_noise_source_test.sh"
4: Test timeout computed to be: 9.99988e+06
4: linux; GNU C++ version 4.6.3 20120306 (Red Hat 4.6.3-2);
Boost_104700; UHD_003.004.003-255-gc7054ce5
4:
4: F
4: 
======================================================================
4: FAIL: test_001 (__main__.test_noise_source)
4: 
----------------------------------------------------------------------
4: Traceback (most recent call last):
4:   File 
"/usr/local/src/build-gnuradio/grextras/python/qa_noise_source.py",
line 55, in test_001
4:     self.assertEqual (expected_result, dst_data)
4: AssertionError: Tuples differ: (-6.88858699798584, 26.1499595... !=
(-6.88858699798584, 26.1499595...
4:
4: First differing element 10:
4: 1.21760773659
4: 1.21761083603
4:
4:   (-6.88858699798584,
4:    26.149959564208984,
4:    20.575775146484375,
4:    -7.934014320373535,
4:    5.335927486419678,
4:    -12.552099227905273,
4:    6.333674430847168,
4:    -23.830753326416016,
4:    -16.603046417236328,
4:    2.9676761627197266,
4: -  1.2176077365875244,
4: +  1.2176108360290527,
4:    15.100193977355957)
4:
4: 
----------------------------------------------------------------------
4: Ran 1 test in 0.008s
4:
4: FAILED (failures=1)
4/9 Test #4: qa_noise_source ..................***Failed    0.35 sec
Posted by Josh Blum (Guest)
on 2012-10-12 23:38
(Received via mailing list)
On 10/12/2012 02:06 PM, Rick Graham wrote:
> Is this a cause for concern?

Nah, just a slight rounding issue. And in one of the blocks that doesnt
even need predictable output :-) I will take a look...

-josh
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.