duplocale: Improve test output.
authorBruno Haible <bruno@clisp.org>
Mon, 5 Apr 2010 15:26:55 +0000 (17:26 +0200)
committerBruno Haible <bruno@clisp.org>
Mon, 5 Apr 2010 15:27:58 +0000 (17:27 +0200)
ChangeLog
tests/test-duplocale.c

index 0ff9253..00eaf9b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 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.
        * m4/rmdir.m4 (gl_FUNC_RMDIR): Remove test whether rmdir exists.
        * doc/posix-functions/rmdir.texi: Remove mention of "old platforms".
index 65fa457..2480926 100644 (file)
@@ -1,5 +1,5 @@
 /* Test of duplicating a locale object.
-   Copyright (C) 20092010 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 <stdio.h>
+
 int
 main ()
 {
+  fprintf (stderr, "Skipping test: function duplocale not available\n");
   return 77;
 }