|
From: | Zac Brown |
Subject: | Re: [pdf-devel] Text module unit tests failing |
Date: | Sun, 14 Sep 2008 08:16:03 -0400 |
User-agent: | Thunderbird 2.0.0.16 (X11/20080724) |
address@hidden wrote:
As long as the bulk of the unit tests run and report correctly everything is, of course, fine. I was under the wrong belief that unit testing aborted very early on if the C locale was defined. Of course having some tests refuse to run on the grounds that the system is not configured to support the tests is common in all testing and i apologise. The problem is that pdf_text_init (the function that initializes the text module) is not able to work when the user locale is C or POSIX, so _any_ test involving the text module will fail if you have such locales activated in your environment.
If thats the case, what modifications do we need to make it work with C or POSIX locales? They're obviously valid locales and I don't see why it shouldn't work.
If it means not running some of the test cases (due to testing characters that aren't in those locales) then I think thats a good solution. Just have a pre-test check at the beginning that sets a "is_posix_or_c" variable and doesn't run certain tests in those cases.
-Zac
[Prev in Thread] | Current Thread | [Next in Thread] |