mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[COMPILER_APITEST] Disable SEH tests for GCC amd64 build
This commit is contained in:
parent
0995b35bac
commit
79bc62f206
2 changed files with 11 additions and 3 deletions
|
@ -1,15 +1,21 @@
|
|||
|
||||
add_subdirectory(ms)
|
||||
if (NOT (GCC AND (ARCH STREQUAL "amd64")))
|
||||
#FIXME _setjmp definitions in CRT headers is wrong
|
||||
add_subdirectory(ms)
|
||||
list(APPEND SOURCE ms_seh.c)
|
||||
endif()
|
||||
|
||||
list(APPEND SOURCE
|
||||
ms_seh.c
|
||||
pseh.c
|
||||
pseh_cpp.cpp
|
||||
psehtest2.c
|
||||
testlist.c)
|
||||
|
||||
add_executable(compiler_apitest ${SOURCE})
|
||||
target_link_libraries(compiler_apitest ms_seh_test wine ${PSEH_LIB})
|
||||
if (NOT (GCC AND (ARCH STREQUAL "amd64")))
|
||||
target_link_libraries(compiler_apitest ms_seh_test)
|
||||
endif()
|
||||
target_link_libraries(compiler_apitest wine ${PSEH_LIB})
|
||||
set_module_type(compiler_apitest win32cui)
|
||||
add_importlibs(compiler_apitest msvcrt kernel32 ntdll)
|
||||
add_rostests_file(TARGET compiler_apitest)
|
||||
|
|
|
@ -7,7 +7,9 @@ extern void func_pseh_cpp(void);
|
|||
|
||||
const struct test winetest_testlist[] =
|
||||
{
|
||||
#if !(defined(__GNUC__) && defined(_M_AMD64))
|
||||
{ "ms-seh", func_ms_seh },
|
||||
#endif
|
||||
{ "pseh", func_pseh },
|
||||
{ "pseh_cpp", func_pseh_cpp },
|
||||
{ 0, 0 }
|
||||
|
|
Loading…
Reference in a new issue