mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
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.
This commit is contained in:
parent
a358c80530
commit
b2b1ea8b77
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
|||||||
|
2017-04-04 Wainer dos Santos Moschetta <wainersm@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
2017-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
||||||
|
|
||||||
* nptl/pthread_create.c (START_THREAD_DEFN): Remove
|
* nptl/pthread_create.c (START_THREAD_DEFN): Remove
|
||||||
|
@ -173,5 +173,4 @@ do_test (void)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#include <support/test-driver.c>
|
||||||
#include "../test-skeleton.c"
|
|
||||||
|
@ -63,5 +63,4 @@ t (const char *ch, size_t nch, const char *loc)
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#include <support/test-driver.c>
|
||||||
#include "../test-skeleton.c"
|
|
||||||
|
@ -63,5 +63,4 @@ do_test (void)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#include <support/test-driver.c>
|
||||||
#include "../test-skeleton.c"
|
|
||||||
|
@ -8,5 +8,4 @@ do_test (void)
|
|||||||
return sizeof (x) - sizeof (mbstate_t);
|
return sizeof (x) - sizeof (mbstate_t);
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#include <support/test-driver.c>
|
||||||
#include "../test-skeleton.c"
|
|
||||||
|
@ -75,5 +75,4 @@ do_test (void)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#include <support/test-driver.c>
|
||||||
#include "../test-skeleton.c"
|
|
||||||
|
@ -93,5 +93,4 @@ check_ascii (const char *locname)
|
|||||||
return res != 0;
|
return res != 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#include <support/test-driver.c>
|
||||||
#include "../test-skeleton.c"
|
|
||||||
|
@ -49,5 +49,4 @@ do_test (void)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#include <support/test-driver.c>
|
||||||
#include "../test-skeleton.c"
|
|
||||||
|
@ -30,5 +30,4 @@ do_test (void)
|
|||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define TEST_FUNCTION do_test ()
|
#include <support/test-driver.c>
|
||||||
#include "../test-skeleton.c"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user