pdf-devel
[Top][All Lists]
Advanced

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

Re: [pdf-devel] Build Error - unit test cases


From: Gaurav Aggarwal
Subject: Re: [pdf-devel] Build Error - unit test cases
Date: Tue, 4 Aug 2009 17:45:09 +0530 (IST)

> From: Aleksander Morgado <address@hidden>

> To: Gaurav Aggarwal <address@hidden>
> Cc: Aleksander Morgado <address@hidden>; Pablo Vasquez <address@hidden>; 
> address@hidden
> Sent: Tuesday, 4 August, 2009 3:22:39 PM
> Subject: Re: [pdf-devel] Build Error - unit test cases
> 
> 
> >> Should we maybe disable `no-check' from now on? If it doesn't even
> >> compile, it doesn't make much sense to have it there, I would say. Or
> >> maybe we can hack it so that at least it ignores fixtures while 
> >> compiling...
> > 
> > OK. Attached is the possible hack/fix for the build-error. This patch will 
> provide the limited support for the Fixtures and one should be able to build 
> the 
> code successfully.
> > NOTE: For future development, I would suggest that test writers will follow 
> the same procedure as mentioned in this patch, to keep it compatible with 
> nocheck flag incase one plans to use the fixture. Hope this will help.
> > 
> > 
> 
> Great, now at least it will compile with no-check. But now, what happens
> when running the tests? I guess that check fixtures had some purpose.
> what happens if the fixture is not enabled?

I took care of this condition. Now, those(fixture) functions are invoked 
explicitly by the needed function in case nocheck library is used. Code flow 
remains the same for the other cases i.e. my patch file will come into the 
picture only if check library is not present.



      Love Cricket? Check out live scores, photos, video highlights and more. 
Click here http://cricket.yahoo.com




reply via email to

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