From ca681b7b7b79bea3af62fe709df6594f3f5457e6 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 25 Feb 2015 16:01:13 -0800 Subject: Convert tst-iconv3 to use test-skeleton. --- iconv/tst-iconv3.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'iconv/tst-iconv3.c') diff --git a/iconv/tst-iconv3.c b/iconv/tst-iconv3.c index f31c812..b06f75f 100644 --- a/iconv/tst-iconv3.c +++ b/iconv/tst-iconv3.c @@ -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" -- cgit v1.1