# Make check errors

**URL:** <https://www.ruby-forum.com/t/make-check-errors/122918>\
**Category:** GNU Radio\
**Created:** [December 12, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/make-check-errors/122918 "2007-12-12T21:04:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [December 12, 2007, 9:04pm UTC](https://www.ruby-forum.com/t/make-check-errors/122918/1 "2007-12-12T21:04:17Z")

</div>

I finally got around to updating to the new top-block code, and ‘make  
check’ now fails on both Intel-Mac and PPC-Mac running OSX 10.4.11.  
The QA code is fine. Anyone else see this issue? - MLD

# Making check in gnuradio-core Making check in src Making check in python Making check in gnuradio Making check in gr

## FAIL: test\_iir\_direct\_003 ( **main**.test\_iir)

Traceback (most recent call last):  
File “./qa\_iir.py”, line 73, in test\_iir\_direct\_003  
self.assertFloatTuplesAlmostEqual (expected\_result, result\_data)  
File “/GNURadio/trunk\_2.4/gnuradio-core/src/python/gnuradio/  
gr\_unittest.py”, line 86, in assertFloatTuplesAlmostEqual  
self.assertAlmostEqual (a[i], b[i], places, msg)  
AssertionError: 15 != 4.0 within 7 places

## ====================================================================== FAIL: test\_iir\_direct\_004 ( **main**.test\_iir)

Traceback (most recent call last):  
File “./qa\_iir.py”, line 87, in test\_iir\_direct\_004  
self.assertFloatTuplesAlmostEqual (expected\_result, result\_data)  
File “/GNURadio/trunk\_2.4/gnuradio-core/src/python/gnuradio/  
gr\_unittest.py”, line 86, in assertFloatTuplesAlmostEqual  
self.assertAlmostEqual (a[i], b[i], places, msg)  
AssertionError: 13 != 4.0 within 7 places

## ====================================================================== FAIL: test\_iir\_direct\_005 ( **main**.test\_iir)

Traceback (most recent call last):  
File “./qa\_iir.py”, line 101, in test\_iir\_direct\_005  
self.assertFloatTuplesAlmostEqual (expected\_result, result\_data)  
File “/GNURadio/trunk\_2.4/gnuradio-core/src/python/gnuradio/  
gr\_unittest.py”, line 86, in assertFloatTuplesAlmostEqual  
self.assertAlmostEqual (a[i], b[i], places, msg)  
AssertionError: 13 != 4.0 within 7 places

## ====================================================================== FAIL: test\_iir\_direct\_006 ( **main**.test\_iir)

Traceback (most recent call last):  
File “./qa\_iir.py”, line 118, in test\_iir\_direct\_006  
self.assertFloatTuplesAlmostEqual (expected\_result, result\_data)  
File “/GNURadio/trunk\_2.4/gnuradio-core/src/python/gnuradio/  
gr\_unittest.py”, line 86, in assertFloatTuplesAlmostEqual  
self.assertAlmostEqual (a[i], b[i], places, msg)  
AssertionError: 13 != 4.0 within 7 places

## ====================================================================== FAIL: test\_iir\_direct\_007 ( **main**.test\_iir)

Traceback (most recent call last):  
File “./qa\_iir.py”, line 135, in test\_iir\_direct\_007  
self.assertFloatTuplesAlmostEqual (expected\_result, result\_data)  
File “/GNURadio/trunk\_2.4/gnuradio-core/src/python/gnuradio/  
gr\_unittest.py”, line 86, in assertFloatTuplesAlmostEqual  
self.assertAlmostEqual (a[i], b[i], places, msg)  
AssertionError: 2 != 4.0 within 7 places

## ====================================================================== FAIL: test\_iir\_direct\_008 ( **main**.test\_iir)

Traceback (most recent call last):  
File “./qa\_iir.py”, line 152, in test\_iir\_direct\_008  
self.assertFloatTuplesAlmostEqual (expected\_result, result\_data)  
File “/GNURadio/trunk\_2.4/gnuradio-core/src/python/gnuradio/  
gr\_unittest.py”, line 86, in assertFloatTuplesAlmostEqual  
self.assertAlmostEqual (a[i], b[i], places, msg)  
AssertionError: 4 != 6.0 within 7 places

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [December 12, 2007, 9:08pm UTC](https://www.ruby-forum.com/t/make-check-errors/122918/2 "2007-12-12T21:08:30Z")

</div>

Michael D. wrote:

> I finally got around to updating to the new top-block code, and ‘make  
> check’ now fails on both Intel-Mac and PPC-Mac running OSX 10.4.11. The  
> QA code is fine. Anyone else see this issue? - MLD

I see this as well now. It can be attributed to a check-in on the trunk  
2 days ago that Martin did to fix an iir bug (r7089). I suspect the iir  
QA needs to be updated.

–  
Johnathan C.  
Corgan Enterprises LLC  
[http://corganenterprises.com](http://corganenterprises.com)

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [December 12, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/make-check-errors/122918/3 "2007-12-12T21:16:10Z")

</div>

On 12/11/07, Johnathan C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I see this as well now. It can be attributed to a check-in on the trunk  
> 2 days ago that Martin did to fix an iir bug (r7089). I suspect the iir  
> QA needs to be updated.

The changeset for r7089 has been reverted on the trunk.

–  
Johnathan C.  
Corgan Enterprises LLC  
[http://corganenterprises.com/](http://corganenterprises.com/)

---

<div class="post-metadata">

**Author:** ![mdeering](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/278dde/32.png) [@mdeering](https://www.ruby-forum.com/u/mdeering)\
**Post date:** [December 12, 2007, 9:16pm UTC](https://www.ruby-forum.com/t/make-check-errors/122918/4 "2007-12-12T21:16:46Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Johnathan C. wrote:

> On 12/11/07, Johnathan C. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > I see this as well now. It can be attributed to a check-in on the trunk  
> > 2 days ago that Martin did to fix an iir bug (r7089). I suspect the iir  
> > QA needs to be updated.
> 
> The changeset for r7089 has been reverted on the trunk.

I looked through that code and the formulas in the header file and did  
the QA by hand and it seems that the reverted version is/was correct.  
Perhaps there was an error forgetting to prepend a 0 into the fb\_taps  
that made someone think there was a bug?

- -Dan  
-----BEGIN PGP SIGNATURE-----  
Version: GnuPG v1.4.6 (GNU/Linux)  
Comment: Using GnuPG with Mozilla - [http://enigmail.mozdev.org](http://enigmail.mozdev.org)

iD8DBQFHX2CZy9GYuuMoUJ4RAjKgAJ4l5cQ6B8vJUqyEbuMvZhfoQZRbSQCdFJTG  
QiFBO/PjvRX1y96QvGT43Vs=  
=x9HD  
-----END PGP SIGNATURE-----
