Bugs item #1853510, was opened at 2007-12-18 22:17
Message generated for change (Comment added) made by lsolesen
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=650322&aid=1853510&group_id=108380

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Data Output
Group: PEL Version 0.9.x
>Status: Closed
Resolution: Works For Me
Priority: 5
Private: No
Submitted By: Mike Brinson (mbrinson)
Assigned to: Lars Olesen (lsolesen)
Summary: All PEL tests - "Equal expectation fails"

Initial Comment:
I am using apache2 web server and attempting to verify that PEL is working, but 
am unsuccessful running the PEL tests using "SimpleTest" as instructed in the 
readme for PEL/test.

Here is my directory structure:

www/pel
www/simpletest

Here is the output I get when running pel/test/run-tests.php

#!/usr/bin/php
Looking for SimpleTest in simpletest/...
Looking for SimpleTest in ../simpletest/...
Found SimpleTest version 1.0.1beta2 in ../../simpletest/!
<br />
<b>Notice</b>:  Undefined variable: argc in 
<b>W:\www\pel\test\run-tests.php</b> on line <b>59</b><br />
Found no image tests, only core functionality will be tested.
Image tests are available from http://pel.sourceforge.net/.
All PEL tests
1) Equal expectation fails as [Boolean: false] does not match [Integer: 10] at 
[W:\www\pel\test\ascii.php line 68]
        in testTime
        in PEL Exif ASCII Tests
        in ascii.php
2) Equal expectation fails as [Boolean: false] does not match [Integer: 10] at 
[W:\www\pel\test\ascii.php line 69]
        in testTime
        in PEL Exif ASCII Tests
        in ascii.php
3) Equal expectation fails at character 2 with [1969:12:31 00:00:10] and 
[1970:01:01 00:00:10] at [W:\www\pel\test\ascii.php line 71]
        in testTime
        in PEL Exif ASCII Tests
        in ascii.php
4) Equal expectation fails because [Float: 2440587.0001157] differs from 
[Float: 2440588.0001157] by 1 at [W:\www\pel\test\ascii.php line 73]
        in testTime
        in PEL Exif ASCII Tests
        in ascii.php
5) Equal expectation fails at character 2 with [1969:12:31 00:00:10] and 
[1970:01:01 00:00:10] at [W:\www\pel\test\ascii.php line 74]
        in testTime
        in PEL Exif ASCII Tests
        in ascii.php
<br />
<b>Fatal error</b>:  Uncaught exception 'PelDataWindowOffsetException' with 
message 'Offset 6 not within [0, 3]' in W:\www\pel\PelDataWindow.php:243
Stack trace:
#0 W:\www\pel\PelDataWindow.php(280): PelDataWindow-&gt;validateOffset(6)
#1 W:\www\pel\test\data-window.php(67): PelDataWindow-&gt;getBytes(0, 6)
#2 W:\www\simpletest\invoker.php(68): DataWindowTestCase-&gt;testReadBytes()
#3 W:\www\simpletest\invoker.php(126): SimpleInvoker-&gt;invoke('testReadBytes')
#4 W:\www\simpletest\errors.php(49): 
SimpleInvokerDecorator-&gt;invoke('testReadBytes')
#5 W:\www\simpletest\invoker.php(126): 
SimpleErrorTrappingInvoker-&gt;invoke('testReadBytes')
#6 W:\www\simpletest\exceptions.php(42): 
SimpleInvokerDecorator-&gt;invoke('testReadBytes')
#7 W:\www\simpletest\test_case.php(143): 
SimpleExceptionTrappingInvoker-&gt;invoke('testReadBytes')
#8 W:\www\simpletest\test_case.php(558): 
SimpleTestCase-&gt;run(Object(TextReporter))
#9 W:\www\simpletest\test_case.php(561): TestSuite-&gt;run(Object(TextReporter))
#10 W:\www\pel\test\run-tests.php(88): TestSuite-&gt;run(Object(TextRe in 
<b>W:\www\pel\PelDataWindow.php</b> on line <b>243</b><br />

----------------------------------------------------------------------

>Comment By: Lars Olesen (lsolesen)
Date: 2010-02-24 10:15

Message:
Closed as no response has been received.

----------------------------------------------------------------------

Comment By: Lars Olesen (lsolesen)
Date: 2009-01-16 17:43

Message:
I have just run all the tests, and there is only one test with an error.
Could you please confirm whether you still have the problem?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=650322&aid=1853510&group_id=108380

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
PEL-devel mailing list
PEL-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pel-devel

Reply via email to