On 05.04.2012 23:16, Bruno Haible wrote: > Hi Vladimir, > >> it is best to split the test into two parts: a part >>> that can be executed on every machine, and a part which can only be executed >>> on a system with a UTF-8 locale. This way, the first part is not skipped >>> just because the system has no UTF-8 locale. >> Ok, will do. Can I include all the "normal" test in UTF-8 test for >> simplicity? > Yes, if the common parts between the "normal" test and the new test for > UTF-8 locales are fairly large, so that you want to avoid code duplication, > then the trick is to move the common parts to a .h file that gets #included > by the two test-*.c files. Ok, will do. I have sent my paperwork to FSF. > Take a look at, for example, test-log.h, test-log.c, test-logl.c. > > Bruno > >
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature