changeset 13168:dab411c66625

duplocale: Improve test output.
author Bruno Haible <bruno@clisp.org>
date Mon, 05 Apr 2010 17:26:55 +0200
parents f51b334dbad0
children b55181348b50
files ChangeLog tests/test-duplocale.c
diffstat 2 files changed, 9 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-04-05  Bruno Haible  <bruno@clisp.org>
+
+	duplocale: Improve test output.
+	* tests/test-duplocale.c (main): Print reason for skipped test.
+
 2010-04-05  Bruno Haible  <bruno@clisp.org>
 
 	Assume rmdir exists.
--- 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 @@
 
 #else
 
+#include <stdio.h>
+
 int
 main ()
 {
+  fprintf (stderr, "Skipping test: function duplocale not available\n");
   return 77;
 }