pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] FS#24 Filesystem module unit test implemetation / first


From: Brad Hards
Subject: Re: [pdf-devel] FS#24 Filesystem module unit test implemetation / first patch
Date: Tue, 28 Jul 2009 14:57:30 +1000
User-agent: KMail/1.11.4 (Linux/2.6.29.6-213.fc11.x86_64; KDE/4.2.4; x86_64; ; )

On Tuesday 28 July 2009 10:18:19 address@hidden wrote:
> While running the tests I encountered something strange. The test for
> pdf_fsys_get_temp_file_name() failed because the function returned NULL
> (pdf_fsys_file_open_005 failed for the same reason). When I set the
> CK_FORK environment varaible to "no" in order to debug this, all test ran
> fine?!
I've seen problems that change depending on CK_FORK.

Lets look at this. When you run "normally", the tests get run as a forked 
process. This means that they are not impacted by other tests. That isn't the 
case with CK_FORK="no".

Perhaps what is happening is that some other test(s) are performing 
initialisation that helps your test pass?

Brad




reply via email to

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