From e098a52fe1d326a410a1c643975c040d666b675c Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Mon, 5 Apr 2010 17:26:55 +0200 Subject: [PATCH] duplocale: Improve test output. --- ChangeLog | 5 +++++ tests/test-duplocale.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0ff92531b..00eaf9b1b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-04-05 Bruno Haible + duplocale: Improve test output. + * tests/test-duplocale.c (main): Print reason for skipped test. + +2010-04-05 Bruno Haible + Assume rmdir exists. * m4/rmdir.m4 (gl_FUNC_RMDIR): Remove test whether rmdir exists. * doc/posix-functions/rmdir.texi: Remove mention of "old platforms". diff --git a/tests/test-duplocale.c b/tests/test-duplocale.c index 65fa45749..2480926c4 100644 --- a/tests/test-duplocale.c +++ b/tests/test-duplocale.c @@ -1,5 +1,5 @@ /* Test of duplicating a locale object. - Copyright (C) 2009, 2010 Free Software Foundation, Inc. + Copyright (C) 2009-2010 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -113,9 +113,12 @@ main () #else +#include + int main () { + fprintf (stderr, "Skipping test: function duplocale not available\n"); return 77; } -- 2.11.0