The problem of current issue is that tests don't pass at all, but test execution is stopped with 'out of memory' diagnostic. That happens at testNumberSetType() exactly at line 156 ("$value->setType(Zend_Measure_Number::ROMAN);")

I tested it using release maintenance branch.

Commenting lines 156 and 157 helps to pass testNumberSetType() and Zend_Measure unit tests pass correctly with only fail mentioned at ZF-2368
ZF-2368 still exist for the release maintenance branch and for the trunk

Alex... how can it create output if it runs infinite as you said ???
That's a question :)

You said it brakes with an memory error...
Exactly!

I added only textual output on the console so this behaviour should not have changed...
Can it be that you've tested with an outdated version ?
I don't think so. I performed tests in several environments using just checked out release maintenance branch:

This issue was already reported about 3 weeks ago and fixed.
And the error you sent with the output is a duplication of another already created issue from you.

Yes. It's ZF-2272 issue.
It also has commits into the release maintenance branch, but it looks like changes were not merged completely.
Here is a diff between 'Number.php' you sent me and current 'branch/release-1.0/library/Zend/Measure/Number.php' file (see the attachment). There are not only debug output, but also some differences in code.
To be more precise, diff also contains changes for CS-7536 and CS-7537.

Merging to release brunch comments also don't refer these changesets.

Please check it.

Posted by Thomas Weidner (thomas) on 2008-02-21T02:22:33.000+0000

Alex:

I asked you in my first reply if it is fixed now within the trunk.

You said NO it runs endless.
In your debug output I saw that it does not run endless.

I am quite confused now.

Could you PLEASE test it with trunk and verify if it runs endless or not ?
If it is fixed within trunk I can integrate it to branch as I said in past.