activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan Mittler (JIRA)" <j...@apache.org>
Subject [jira] Created: (AMQCPP-181) Failed unit tests in 2.2 RC1
Date Fri, 06 Jun 2008 12:54:00 GMT
Failed unit tests in 2.2 RC1
----------------------------

                 Key: AMQCPP-181
                 URL: https://issues.apache.org/activemq/browse/AMQCPP-181
             Project: ActiveMQ C++ Client
          Issue Type: Bug
         Environment: OS X (x86)
            Reporter: Nathan Mittler
            Assignee: Nathan Mittler
             Fix For: 2.2


I checked out the tag on OS X and built and ran the unit tests.  Everything builds cleanly,
but I did notice a couple of failed unit tests (both in MathTest):

1) test: decaf::lang::MathTest::test_hypot_DD (F) line: 262 decaf/lang/MathTest.cpp
equality assertion failed
- Expected: 1.79769313486232e+308
- Actual  : inf
- Should return 1.7976931348623157E308


2) test: decaf::lang::MathTest::test_tanD (F) line: 567 decaf/lang/MathTest.cpp
equality assertion failed
- Expected: 1.5574077246549
- Actual  : 1.5574077246549
- Incorrect answer

Generally, these are just bothersome errors that probably don't need a lot of attention. 
The second one seems to just be an error in some far off decimal place.  We can take care
of that by just multiplying the values and casting to long before comparing.  The first is
a little trickier - I'm not sure what the fix is.  Perhaps an temporary solution is to just
#ifdef it out for OS X?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message