[CRT_APITEST] Implement wctomb() testcase (#2701)
[reactos.git] / modules / rostests / apitests / crt / crtdll_crt_apitest.cmake
1
2 list(APPEND SOURCE_CRTDLL
3 # _CIacos.c
4 # _CIasin.c
5 # _CIatan.c
6 # _CIatan2.c
7 # _CIcosh.c
8 # _CIcos.c
9 # _CIexp.c
10 # _CIfmod.c
11 # _CIlog.c
12 # _CIlog10.c
13 # _CIpow.c
14 # _CIsin.c
15 # _CIsinh.c
16 # _CIsqrt.c
17 # _CItan.c
18 # _CItanh.c
19 # _HUGE_dll.c
20 # _XcptFilter.c
21 # __GetMainArgs.c
22 # __argc_dll.c
23 # __argv_dll.c
24 # __dllonexit.c
25 # __doserrno.c
26 # __fpecode.c
27 # __isascii.c
28 # __iscsym.c
29 # __iscsymf.c
30 # __mb_cur_max_dll.c
31 # __pxcptinfoptrs.c
32 # __threadhandle.c
33 # __threadid.c
34 # __toascii.c
35 # _abnormal_termination.c
36 # _access.c
37 # _acmdln_dll.c
38 # _aexit_rtn_dll.c
39 # _amsg_exit.c
40 # _assert.c
41 # _basemajor_dll.c
42 # _baseminor_dll.c
43 # _baseversion_dll.c
44 # _beep.c
45 # _beginthread.c
46 # _c_exit.c
47 # _cabs.c
48 # _cexit.c
49 # _cgets.c
50 # _chdir.c
51 # _chdrive.c
52 # _chgsign.c
53 # _chmod.c
54 # _chsize.c
55 # _clearfp.c
56 # _close.c
57 # _commit.c
58 # _commode_dll.c
59 # _control87.c
60 # _controlfp.c
61 # _copysign.c
62 # _cprintf.c
63 # _cpumode_dll.c
64 # _cputs.c
65 # _creat.c
66 # _cscanf.c
67 # _ctype.c
68 # _cwait.c
69 # _daylight_dll.c
70 # _dup.c
71 # _dup2.c
72 # _ecvt.c
73 # _endthread.c
74 # _environ_dll.c
75 # _eof.c
76 # _errno.c
77 # _except_handler2.c
78 # _execl.c
79 # _execle.c
80 # _execlp.c
81 # _execlpe.c
82 # _execv.c
83 # _execve.c
84 # _execvp.c
85 # _execvpe.c
86 # _exit.c
87 # _expand.c
88 # _fcloseall.c
89 # _fcvt.c
90 # _fdopen.c
91 # _fgetchar.c
92 # _fgetwchar.c
93 # _filbuf.c
94 # _fileinfo_dll.c
95 # _filelength.c
96 # _fileno.c
97 # _findclose.c
98 # _findfirst.c
99 # _findnext.c
100 # _finite.c
101 # _flsbuf.c
102 # _flushall.c
103 # _fmode_dll.c
104 # _fpclass.c
105 # _fpieee_flt.c
106 # _fpreset.c
107 # _fputchar.c
108 # _fputwchar.c
109 # _fsopen.c
110 # _fstat.c
111 # _ftime.c
112 # _ftol.c
113 # _fullpath.c
114 # _futime.c
115 # _gcvt.c
116 # _get_osfhandle.c
117 # _getch.c
118 # _getche.c
119 # _getcwd.c
120 # _getdcwd.c
121 # _getdiskfree.c
122 # _getdllprocaddr.c
123 # _getdrive.c
124 # _getdrives.c
125 # _getpid.c
126 # _getsystime.c
127 # _getw.c
128 # _global_unwind2.c
129 # _heapchk.c
130 # _heapmin.c
131 # _heapset.c
132 # _heapwalk.c
133 # _hypot.c
134 # _initterm.c
135 # _iob.c
136 # _isatty.c
137 # _isctype.c
138 # _ismbbalnum.c
139 # _ismbbalpha.c
140 # _ismbbgraph.c
141 # _ismbbkalnum.c
142 # _ismbbkana.c
143 # _ismbbkpunct.c
144 # _ismbblead.c
145 # _ismbbprint.c
146 # _ismbbpunct.c
147 # _ismbbtrail.c
148 # _ismbcalpha.c
149 # _ismbcdigit.c
150 # _ismbchira.c
151 # _ismbckata.c
152 # _ismbcl0.c
153 # _ismbcl1.c
154 # _ismbcl2.c
155 # _ismbclegal.c
156 # _ismbclower.c
157 # _ismbcprint.c
158 # _ismbcspace.c
159 # _ismbcsymbol.c
160 # _ismbcupper.c
161 # _ismbslead.c
162 # _ismbstrail.c
163 # _isnan.c
164 # _itoa.c
165 # _itow.c
166 # _j0.c
167 # _j1.c
168 # _jn.c
169 # _kbhit.c
170 # _lfind.c
171 # _loaddll.c
172 # _local_unwind2.c
173 # _locking.c
174 # _logb.c
175 # _lrotl.c
176 # _lrotr.c
177 # _lsearch.c
178 # _lseek.c
179 # _ltoa.c
180 # _ltow.c
181 # _makepath.c
182 # _matherr.c
183 # _mbbtombc.c
184 # _mbbtype.c
185 # _mbccpy.c
186 # _mbcjistojms.c
187 # _mbcjmstojis.c
188 # _mbclen.c
189 # _mbctohira.c
190 # _mbctokata.c
191 # _mbctolower.c
192 # _mbctombb.c
193 # _mbctoupper.c
194 # _mbctype.c
195 # _mbsbtype.c
196 # _mbscat.c
197 # _mbschr.c
198 # _mbscmp.c
199 # _mbscpy.c
200 # _mbscspn.c
201 # _mbsdec.c
202 # _mbsdup.c
203 # _mbsicmp.c
204 # _mbsinc.c
205 # _mbslen.c
206 # _mbslwr.c
207 # _mbsnbcat.c
208 # _mbsnbcmp.c
209 # _mbsnbcnt.c
210 # _mbsnbcpy.c
211 # _mbsnbicmp.c
212 # _mbsnbset.c
213 # _mbsncat.c
214 # _mbsnccnt.c
215 # _mbsncmp.c
216 # _mbsncpy.c
217 # _mbsnextc.c
218 # _mbsnicmp.c
219 # _mbsninc.c
220 # _mbsnset.c
221 # _mbspbrk.c
222 # _mbsrchr.c
223 # _mbsrev.c
224 # _mbsset.c
225 # _mbsspn.c
226 # _mbsspnp.c
227 # _mbsstr.c
228 # _mbstok.c
229 # _mbstrlen.c
230 # _mbsupr.c
231 # _memccpy.c
232 # _memicmp.c
233 # _mkdir.c
234 # _mktemp.c
235 # _msize.c
236 # _nextafter.c
237 # _onexit.c
238 # _open.c
239 # _open_osfhandle.c
240 # _osmajor_dll.c
241 # _osminor_dll.c
242 # _osmode_dll.c
243 # _osver_dll.c
244 # _osversion_dll.c
245 # _pclose.c
246 # _pctype_dll.c
247 # _pgmptr_dll.c
248 # _pipe.c
249 # _popen.c
250 # _purecall.c
251 # _putch.c
252 # _putenv.c
253 # _putw.c
254 # _pwctype_dll.c
255 # _read.c
256 # _rmdir.c
257 # _rmtmp.c
258 # _rotl.c
259 # _rotr.c
260 # _scalb.c
261 # _searchenv.c
262 # _seterrormode.c
263 # _setjmp.c
264 # _setmode.c
265 # _setsystime.c
266 # _sleep.c
267 _snprintf.c
268 _snwprintf.c# _sopen.c
269 # _spawnl.c
270 # _spawnle.c
271 # _spawnlp.c
272 # _spawnlpe.c
273 # _spawnv.c
274 # _spawnve.c
275 # _spawnvp.c
276 # _spawnvpe.c
277 # _splitpath.c
278 # _stat.c
279 # _statusfp.c
280 # _strcmpi.c
281 # _strdate.c
282 # _strdec.c
283 # _strdup.c
284 # _strerror.c
285 # _stricmp.c
286 # _stricoll.c
287 # _strinc.c
288 # _strlwr.c
289 # _strncnt.c
290 # _strnextc.c
291 # _strnicmp.c
292 # _strninc.c
293 # _strnset.c
294 # _strrev.c
295 # _strset.c
296 # _strspnp.c)
297 # _strtime.c
298 # _strupr.c
299 # _swab.c
300 # _sys_errlist.c
301 # _sys_nerr_dll.c
302 # _tell.c
303 # _tempnam.c
304 # _timezone_dll.c
305 # _tolower.c
306 # _toupper.c
307 # _tzname.c
308 # _tzset.c
309 # _ultoa.c
310 # _ultow.c
311 # _umask.c
312 # _ungetch.c
313 # _unlink.c
314 # _unloaddll.c
315 # _utime.c
316 _vsnprintf.c
317 _vsnwprintf.c
318 # _wcsdup.c
319 # _wcsicmp.c
320 # _wcsicoll.c
321 # _wcslwr.c
322 # _wcsnicmp.c
323 # _wcsnset.c
324 # _wcsrev.c
325 # _wcsset.c
326 # _wcsupr.c
327 # _winmajor_dll.c
328 # _winminor_dll.c
329 # _winver_dll.c
330 # _write.c
331 # _wtoi.c
332 # _wtol.c
333 # _y0.c
334 # _y1.c
335 # _yn.c
336 # abort.c
337 # abs.c
338 # acos.c
339 # asctime.c
340 # asin.c
341 # atan.c
342 # atan2.c
343 # atexit.c
344 # atof.c
345 # atoi.c
346 # atol.c
347 # bsearch.c
348 # calloc.c
349 # ceil.c
350 # clearerr.c
351 # clock.c
352 # cos.c
353 # cosh.c
354 # ctime.c
355 # difftime.c
356 # div.c
357 # exit.c
358 # exp.c
359 # fabs.c
360 # fclose.c
361 # feof.c
362 # ferror.c
363 # fflush.c
364 # fgetc.c
365 # fgetpos.c
366 # fgets.c
367 # fgetwc.c
368 # floor.c
369 # fmod.c
370 # fopen.c
371 # fprintf.c
372 # fputc.c
373 # fputs.c
374 # fputwc.c
375 # fread.c
376 # free.c
377 # freopen.c
378 # frexp.c
379 # fscanf.c
380 # fseek.c
381 # fsetpos.c
382 # ftell.c
383 # fwprintf.c
384 # fwrite.c
385 # fwscanf.c
386 # getc.c
387 # getchar.c
388 # getenv.c
389 # gets.c
390 # gmtime.c
391 # is_wctype.c
392 # isalnum.c
393 # isalpha.c
394 # iscntrl.c
395 # isdigit.c
396 # isgraph.c
397 # isleadbyte.c
398 # islower.c
399 # isprint.c
400 # ispunct.c
401 # isspace.c
402 # isupper.c
403 # iswalnum.c
404 # iswalpha.c
405 # iswascii.c
406 # iswcntrl.c
407 # iswctype.c
408 # iswdigit.c
409 # iswgraph.c
410 # iswlower.c
411 # iswprint.c
412 # iswpunct.c
413 # iswspace.c
414 # iswupper.c
415 # iswxdigit.c
416 # isxdigit.c
417 # labs.c
418 # ldexp.c
419 # ldiv.c
420 # localeconv.c
421 # localtime.c
422 # log.c
423 # log10.c
424 # longjmp.c
425 # malloc.c
426 # mblen.c
427 mbstowcs.c
428 mbtowc.c
429 # memchr.c
430 # memcmp.c
431 # memcpy.c
432 # memmove.c
433 # memset.c
434 # mktime.c
435 # modf.c
436 # perror.c
437 # pow.c
438 # printf.c
439 # putc.c
440 # putchar.c
441 # puts.c
442 # qsort.c
443 # raise.c
444 # rand.c
445 # realloc.c
446 # remove.c
447 # rename.c
448 # rewind.c
449 # scanf.c
450 # setbuf.c
451 # setlocale.c
452 # setvbuf.c
453 # signal.c
454 # sin.c
455 # sinh.c
456 sprintf.c
457 # sqrt.c
458 # srand.c
459 # sscanf.c
460 # strcat.c
461 # strchr.c
462 # strcmp.c
463 # strcoll.c
464 strcpy.c
465 # strcspn.c
466 # strerror.c
467 # strftime.c
468 strlen.c
469 # strncat.c
470 # strncmp.c
471 # strncpy.c
472 # strpbrk.c
473 # strrchr.c
474 # strspn.c
475 # strstr.c
476 # strtod.c
477 # strtok.c
478 # strtol.c
479 strtoul.c
480 # strxfrm.c
481 # swprintf.c
482 # swscanf.c
483 # system.c
484 # tan.c
485 # tanh.c
486 # time.c
487 # tmpfile.c
488 # tmpnam.c
489 # tolower.c
490 # toupper.c
491 # towlower.c
492 # towupper.c
493 # ungetc.c
494 # ungetwc.c
495 # vfprintf.c
496 # vfwprintf.c
497 # vprintf.c
498 # vsprintf.c
499 # vswprintf.c
500 # vwprintf.c
501 # wcscat.c
502 # wcschr.c
503 # wcscmp.c
504 # wcscoll.c
505 # wcscpy.c
506 # wcscspn.c
507 # wcsftime.c
508 # wcslen.c
509 # wcsncat.c
510 # wcsncmp.c
511 # wcsncpy.c
512 # wcspbrk.c
513 # wcsrchr.c
514 # wcsspn.c
515 # wcsstr.c
516 # wcstod.c
517 # wcstok.c
518 # wcstol.c
519 wcstombs.c
520 wcstoul.c
521 # wcsxfrm.c
522 wctomb.c
523 # wprintf.c
524 # wscanf.c
525 )
526
527 if(ARCH STREQUAL "i386")
528 list(APPEND SOURCE_CRTDLL
529 # _CIpow.c
530 # _ftol.c
531 # _alldiv.c
532 # _alldvrm.c
533 # _allmul.c
534 # _allrem.c
535 # _allshl.c
536 # _allshr.c
537 # _alloca_probe.c
538 # _aulldiv.c
539 # _aulldvrm.c
540 # _aullrem.c
541 # _aullshr.c
542 # _chkstk.c
543 )
544 elseif(ARCH STREQUAL "amd64")
545 list(APPEND SOURCE_CRTDLL
546 # __C_specific_handler
547 # _setjmp.c
548 # _setjmpex.c
549 # _local_unwind.c
550 # longjmp.c
551 )
552 endif()
553
554
555 add_executable(crtdll_crt_apitest testlist.c ${SOURCE_CRTDLL})
556 target_compile_definitions(crtdll_crt_apitest PRIVATE TEST_CRTDLL)
557 target_link_libraries(crtdll_crt_apitest wine ${PSEH_LIB})
558 set_module_type(crtdll_crt_apitest win32cui)
559 add_importlibs(crtdll_crt_apitest crtdll msvcrt kernel32 ntdll)
560 add_rostests_file(TARGET crtdll_crt_apitest)