[Bug 360] New: tests fail on linux-2.6.19.7 and rtai-3.5

For more information about this bug, visit
A new bug was added:
Summary: tests fail on linux-2.6.19.7 and rtai-3.5
Product: RTT
Version: rtt-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Tests
AssignedTo: orocos-dev [..] ...
ReportedBy: ruben [dot] smits [..] ...

This is the output of make check, is it critical or shouldn't i worry about it?

1/ 7 Testing core-test
Test command: /src/rtt/build-lxrt/tests/core-test

..F.F...............
time_test.cpp:85:Assertion
Test name: TimeTest::testTicksConversion
equality assertion failed
- Expected: 9007199254740992
- Actual : 9007199254741112

time_test.cpp:120:Assertion
Test name: TimeTest::testTimeProgress
assertion failed
- Expression: -EPSILON < (change_S - hbg->secondsSince(t)) && EPSILON > (change
_S - hbg->secondsSince(t))

Failures !!!
Run: 18 Failure total: 2 Failures: 2 Errors: 0

[Bug 360] tests fail on linux-2.6.19.7 and rtai-3.5

For more information about this bug, visit
A comment was added:
------- Comment #1 from peter [dot] soetens [..] ... 2007-03-23 14:23

(In reply to comment #0)
> This is the output of make check, is it critical or shouldn't i worry about it?

I would...

>
> 1/ 7 Testing core-test
> Test command: /src/rtt/build-lxrt/tests/core-test
>
> ..F.F...............
> time_test.cpp:85:Assertion
> Test name: TimeTest::testTicksConversion
> equality assertion failed
> - Expected: 9007199254740992
> - Actual : 9007199254741112

We can fix this one by being more tolerant in the comparison.

>
> time_test.cpp:120:Assertion
> Test name: TimeTest::testTimeProgress
> assertion failed
> - Expression: -EPSILON < (change_S - hbg->secondsSince(t)) && EPSILON > (change
> _S - hbg->secondsSince(t))

I'm not sure why this one failed...

>
> Failures !!!
> Run: 18 Failure total: 2 Failures: 2 Errors: 0