]> sourceware.org Git - glibc.git/commitdiff
Convert tst-iconv3 to use test-skeleton.
authorRoland McGrath <roland@hack.frob.com>
Thu, 26 Feb 2015 00:01:13 +0000 (16:01 -0800)
committerRoland McGrath <roland@hack.frob.com>
Thu, 26 Feb 2015 00:01:13 +0000 (16:01 -0800)
ChangeLog
iconv/tst-iconv3.c

index 0f2d1d9c572cb569baf546b88c862657c847f53d..dd590b06ea7f46db7cd6de0daf5e6c8164dbf271 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-02-25  Roland McGrath  <roland@hack.frob.com>
 
+       * iconv/tst-iconv3.c (main): Converted to ...
+       (do_test): ... this.
+       (TEST_FUNCTION): New macro.
+       Include test-skeleton.c.
+
        * iconv/tst-iconv5.c (testcode, number): Make variables static const.
        (convert): Make function static.
        (test_unalign): Likewise.  Add const to argument pointee types.
index f31c8129d7cc6f336ed7e6b0fd6591ab9e34c623..b06f75f0bc50ec656e408214b8cc0bb5c15f17db 100644 (file)
@@ -7,8 +7,8 @@
 
 #define BUFSIZE 10000
 
-int
-main (int argc, char *argv[])
+static int
+do_test (void)
 {
   char inbuf[BUFSIZE];
   wchar_t outbuf[BUFSIZE];
@@ -51,3 +51,6 @@ main (int argc, char *argv[])
 
   return result;
 }
+
+#define TEST_FUNCTION do_test ()
+#include "../test-skeleton.c"
This page took 0.122648 seconds and 5 git commands to generate.