[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Best way to issue a warning in a C test

From: Danny Trebbien <dtrebbien_at_gmail.com>
Date: Sat, 12 Feb 2011 14:16:25 -0800

I want to add a test to
`subversion/tests/libsvn_subr/subst_translate-test.c` that will set
the locale with setlocale(LC_ALL, "eo.ISO-8859-3"), issuing a warning
if it is unable to because the eo.ISO-8859-3 locale is not installed.

What is a good way to do this? I don't think that the test should fail
simply because the system does not have the eo.ISO-8859-3 locale, but
I would like a warning to be conspicuously printed in the test
results.
Received on 2011-02-12 23:17:03 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.