discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] How to diagnose make test failures


From: Stamper, Brian
Subject: Re: [Discuss-gnuradio] How to diagnose make test failures
Date: Sun, 21 Apr 2013 21:42:44 +0000

Some additional information..

> When I run make test I get the following failures:
> 
> 
> 22/192 Test #22: qa_fft_filter ....................***Failed 1.05 sec
> 85/192 Test #85: test_gr_filter ...................***Failed 0.27 sec
> 91/192 Test #91: qa_fft_filter ....................***Failed 1.11 sec
> 92/192 Test #92: qa_hilbert .......................***Failed 1.09 sec
> 93/192 Test #93: qa_filter_delay_fc ...............***Failed 1.10 sec
> 94/192 Test #94: qa_pfb_arb_resampler .............***Failed 1.13 sec
> 95/192 Test #95: qa_rational_resampler ............***Failed 1.23 sec
> 97/192 Test #97: qa_fir_filter ....................***Failed 1.23 sec
> 114/192 Test #114: qa_ctcss_squelch .................***Failed 1.21 sec

> My question is how should I go about diagnosing the problems?
> 
> Thank you,

> Brian Stamper

I have since learned about running the individual tests verbosely, like so:
ctest -V -R qa_fft_filter

I found that each of the tests listed above leads to a segmentation fault, 
EXCEPT for the ca_ctcss_squelch test, which gives two assertion errors:

    Start 114: qa_ctcss_squelch

114: Test command: /bin/sh 
"/home/brian/SDR/gnuradio/build/gr-analog/python/qa_ctcss_squelch_test.sh"
114: Test timeout computed to be: 9.99988e+06
114: .FF
114: ======================================================================
114: FAIL: test_ctcss_squelch_002 (__main__.test_ctcss_squelch)
114: ----------------------------------------------------------------------
114: Traceback (most recent call last):
114:   File "/home/brian/SDR/gnuradio/gr-analog/python/qa_ctcss_squelch.py", 
line 81, in test_ctcss_squelch_002
114:     self.assertFloatTuplesAlmostEqual(expected_result, result_data, 4)
114:   File 
"/home/brian/SDR/gnuradio/gnuradio-core/src/python/gnuradio/gr_unittest.py", 
line 85, in assertFloatTuplesAlmostEqual
114:     self.assertEqual (len(a), len(b))
114: AssertionError: 39 != 31
114: 
114: ======================================================================
114: FAIL: test_ctcss_squelch_003 (__main__.test_ctcss_squelch)
114: ----------------------------------------------------------------------
114: Traceback (most recent call last):
114:   File "/home/brian/SDR/gnuradio/gr-analog/python/qa_ctcss_squelch.py", 
line 106, in test_ctcss_squelch_003
114:     self.assertFloatTuplesAlmostEqual(expected_result, result_data, 4)
114:   File 
"/home/brian/SDR/gnuradio/gnuradio-core/src/python/gnuradio/gr_unittest.py", 
line 87, in assertFloatTuplesAlmostEqual
114:     self.assertAlmostEqual (a[i], b[i], places, msg)
114: AssertionError: 0.8 != 0.0 within 4 places
114: 
114: ----------------------------------------------------------------------
114: Ran 3 tests in 0.012s
114: 
114: FAILED (failures=2)
1/1 Test #114: qa_ctcss_squelch .................***Failed    1.22 sec


Hopefully this additional information is helpful.

Thanks,
Brian




reply via email to

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