diff options
author | Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com> | 2017-04-04 18:05:20 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2017-04-04 18:05:20 -0300 |
commit | b2b1ea8b777c2f1362d41ee34089104f535e9903 (patch) | |
tree | 7e6ee945b3a6418d1b1661029f32633e151fc36a /wcsmbs/tst-mbrtowc2.c | |
parent | a358c805300e358e30d4788a6f19c69988623a5c (diff) | |
download | glibc-b2b1ea8b777c2f1362d41ee34089104f535e9903.zip glibc-b2b1ea8b777c2f1362d41ee34089104f535e9903.tar.gz glibc-b2b1ea8b777c2f1362d41ee34089104f535e9903.tar.bz2 |
Update wcsmbs tests to use the support test driver
Replaced test-skeleton.c with support/test-driver.c and
adjusted the tests accordinly.
Checked on x86_64-linux-gnu.
* wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
the TEST_FUNCTION macro definition.
* wcsmbs/tst-mbrtowc2.c: Likewise.
* wcsmbs/tst-mbsrtowcs.c: Likewise.
* wcsmbs/tst-wchar-h.c: Likewise.
* wcsmbs/tst-wcpncpy.c: Likewise.
* wcsmbs/tst-wcrtomb.c: Likewise.
* wcsmbs/tst-wcsnlen.c: Likewise.
* wcsmbs/tst-wcstof.c: Likewise.
Diffstat (limited to 'wcsmbs/tst-mbrtowc2.c')
-rw-r--r-- | wcsmbs/tst-mbrtowc2.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wcsmbs/tst-mbrtowc2.c b/wcsmbs/tst-mbrtowc2.c index 67d8e29..975043a 100644 --- a/wcsmbs/tst-mbrtowc2.c +++ b/wcsmbs/tst-mbrtowc2.c @@ -63,5 +63,4 @@ t (const char *ch, size_t nch, const char *loc) return ret; } -#define TEST_FUNCTION do_test () -#include "../test-skeleton.c" +#include <support/test-driver.c> |