winpr/wtsapi: disable tests that block on windows

This commit is contained in:
Bernhard Miklautz 2015-06-03 16:44:07 +02:00
parent ab8d83c8fc
commit 7d49893ddf
1 changed files with 9 additions and 2 deletions

View File

@ -4,15 +4,22 @@ set(MODULE_PREFIX "TEST_WTSAPI")
set(${MODULE_PREFIX}_DRIVER ${MODULE_NAME}.c)
set(UNIX_ONLY
TestWtsApiShutdownSystem.c
TestWtsApiWaitSystemEvent.c
)
set(${MODULE_PREFIX}_TESTS
TestWtsApiEnumerateProcesses.c
TestWtsApiEnumerateSessions.c
TestWtsApiQuerySessionInformation.c
TestWtsApiShutdownSystem.c
TestWtsApiSessionNotification.c
TestWtsApiWaitSystemEvent.c
)
if(NOT WIN32)
set(${MODULE_PREFIX}_TESTS ${${MODULE_PREFIX}_TESTS} ${UNIX_ONLY})
endif()
create_test_sourcelist(${MODULE_PREFIX}_SRCS
${${MODULE_PREFIX}_DRIVER}
${${MODULE_PREFIX}_TESTS})