x86: Don't check XFD against /proc/cpuinfo
[glibc.git] / localedata / tests-mbwc / dat_isw-funcs.h
blob70aecb08399f5deb851d36e48365a0bdfe99f49a
1 /*
2 * TEST SUITE FOR MB/WC FUNCTIONS IN C LIBRARY
4 * FILE: dat_isw-funcs.h
6 * ISW*: int isw* (wint_t wc);
7 */
9 #include <errno.h>
10 #include <stdlib.h>
11 #include <wctype.h>
12 #include "tst_types.h"
13 #include "tgn_locdef.h"
15 #define TST_ISW_LOC(FUNC, func) \
16 TST_ISW## FUNC tst_isw## func ##_loc []
18 #define TST_ISW_REC(locale, func) \
19 { Tisw## func, TST_LOC_## locale },
22 * NOTE:
23 * Set ret_flg = 1, when a return value is expected to be 0 (FALSE).
24 * Set ret_flg = 0, when a return value is expected to be non-zero (TRUE).
26 * Since the functions return *non*-zero value for TRUE, can't
27 * compare an actual return value with an expected return value.
28 * Set the ret_flg=0 for TRUE cases and the tst_isw*() will check
29 * the non-zero value.
31 * { { WEOF }, { 0,1,0 } },
32 * | |
33 * | ret_val: an expected return value
34 * ret_flg: if 1, compare an actual return value with the
35 * ret_val; if 0, the test program
36 * checks the actual return value.