File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed
modules/rostests/apitests/ucrtbase Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,6 @@ list(REMOVE_ITEM INCLUDE_DIRS "${REACTOS_SOURCE_DIR}/sdk/include/crt")
55set_property (DIRECTORY . PROPERTY INCLUDE_DIRECTORIES ${INCLUDE_DIRS} )
66include_directories (${REACTOS_SOURCE_DIR} /sdk/include /ucrt)
77
8- add_definitions (
9- -DTEST_UCRTBASE
10- -DUSE_WINE_TODOS
11- )
12-
138list (APPEND SOURCE
149 ../crt/_finite.c
1510 ../crt/_isnan.c
@@ -26,6 +21,7 @@ list(APPEND SOURCE
2621 ../crt/sin.c
2722 ../crt/sqrt.c
2823 ../crt/tan.c
24+ ../crt/wctomb.c
2925 testlist.c
3026)
3127
@@ -41,12 +37,13 @@ endif()
4137
4238add_executable (ucrtbase_apitest ${SOURCE} ${ucrtbase_apitest_asm} )
4339set_module_type(ucrtbase_apitest win32cui)
40+ target_compile_definitions (ucrtbase_apitest PRIVATE USE_WINE_TODOS TEST_UCRTBASE TEST_DLL_NAME="ucrtbase.dll" )
4441
4542target_link_libraries (ucrtbase_apitest ${PSEH_LIB} chkstk)
4643if (NOT MSVC )
4744 # Add this manually here, so it can link to ucrtbase.dll and vcstartup
4845 target_link_libraries (ucrtbase_apitest -lgcc)
4946endif ()
5047
51- add_importlibs(ucrtbase_apitest ucrtbase kernel32)
48+ add_importlibs(ucrtbase_apitest ucrtbase kernel32 ntdll )
5249add_rostests_file(TARGET ucrtbase_apitest)
Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ extern void func_setjmp(void);
1818extern void func_sin (void );
1919extern void func_sqrt (void );
2020extern void func_tan (void );
21+ extern void func_wctomb (void );
2122
2223
2324const struct test winetest_testlist [] =
@@ -37,6 +38,7 @@ const struct test winetest_testlist[] =
3738 { "sin" , func_sin },
3839 { "sqrt" , func_sqrt },
3940 { "tan" , func_tan },
41+ { "wctomb" , func_wctomb },
4042
4143 { 0 , 0 }
4244};
You can’t perform that action at this time.
0 commit comments