Message ID | 20150226000331.9636A2C3ADB@topped-with-meat.com |
---|---|
State | New |
Headers | show |
--- 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"