pdf-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pdf-devel] FS#108 (and flyspray)


From: Pablo Vasquez
Subject: Re: [pdf-devel] FS#108 (and flyspray)
Date: Fri, 7 Aug 2009 09:53:37 +0000

>        The first time, the tests ran (with some failures) until a page
>   fault came up trying to run pdf_stm_write_015. Curiously this one and
>   pdf_stm_write_016 (which also brings up this page fault) are fixtured
>   test cases. The execution doesn't even reach the test code (found that
>   out by placing some debug printfs), so I think this must have
>   something to do with check's abilities to run fixtures under wine.
>   Didn't try it in windows, though.
>
>> Can you send a bug report to the 'check' development mailing list,
> >including details about how to reproduce the problem using libgnupdf?

Yes, I can. I'll do it asap.

>
>   For the sake of completeness, I took these two tests out and ran
>   everything again. This time everything ran fine, with some of wine's
>   internal whinings and some test failures, but no page faults. I
>   attached make's full output and the log from check's run without the
>   fixtured test cases.
>
>> I see that 'pdf_time_from_string_006' is failing.  Are you using a
> >recent bazaar checkout?
>

Mmm. I was using an old bzr checkout. I merged and tried again with
some news. The whole text suite brings a page fault, but this one's
not fixed by avoiding the some test cases, have to avoid them all to
keep it running, it's quite strange, I cannot blame check yet. Just
commented it out so that I could see what tests were failing. Gosh,
now I see why we want forked tests!!
I will pay a look a this later, don't even know how it's working in linux.
The new list of failures is the following:

base/time/pdf-time-from-string.c:474:F:pdf_time_from_string:pdf_time_from_string_006:0:
Failure 'status != PDF_EBADDATA' occured
base/time/pdf-time-to-string.c:210:F:pdf_time_to_string:pdf_time_to_string_002:0:
Assertion 'strcmp(testStringNA, dateString) == 0' failed
base/stm/pdf-stm-bseek.c:191:F:pdf_stm_bseek:pdf_stm_bseek_003:0:
Failure 'ret_char != '3'' occured
base/stm/pdf-stm-bseek.c:266:F:pdf_stm_bseek:pdf_stm_bseek_004:0:
Failure 'ret_char != '9'' occured
base/stm/pdf-stm-write.c:844:F:pdf_stm_write:pdf_stm_write_013:0:
Failure 'strcmp (data, "GNU") != 0' occured
base/stm/pdf-stm-write.c:922:F:pdf_stm_write:pdf_stm_write_014:0:
Failure 'strcmp (data, "GNU") != 0' occured
base/fsys/pdf-fsys-get-free-space.c:54:F:pdf_fsys_get_free_space:pdf_fsys_get_free_space_001:0:
Failure 'pdf_i64_cmp(free_space, error) == 0' occured
base/fsys/pdf-fsys-file-open.c:126:F:pdf_fsys_file_open:pdf_fsys_file_open_003:0:
Failure 'pdf_fsys_file_open(NULL, path, PDF_FSYS_OPEN_MODE_WRITE,
&file) != PDF_EBADPERMS' occured

Where pdf_time_to_string_002 is a new one. And
pdf_time_from_string_006 is still failing.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]