Commit 248b0689 authored by Otavio Rodolfo Piske's avatar Otavio Rodolfo Piske

Temporarily disables building test9 on Windows, since the compilation is broken

Signed-off-by: 's avatarOtavio Rodolfo Piske <opiske@redhat.com>
parent bbee1087
......@@ -116,22 +116,30 @@ ADD_TEST(
)
ADD_EXECUTABLE(
test9
test9.c
)
IF (WIN32)
MESSAGE(WARNING "Test9 disabled due to compilation errors on Windows")
# Times out after 9 minutes
SET_TESTS_PROPERTIES(
test1 test2 test4 test6 test8
PROPERTIES TIMEOUT 540)
ELSE()
ADD_EXECUTABLE(
test9
test9.c
)
TARGET_LINK_LIBRARIES(
test9
paho-mqtt3a
)
TARGET_LINK_LIBRARIES(
test9
paho-mqtt3a
)
ADD_TEST(
NAME test9
COMMAND test9 "--connection" ${MQTT_TEST_BROKER}
)
ADD_TEST(
NAME test9
COMMAND test9 "--connection" ${MQTT_TEST_BROKER}
)
# Times out after 9 minutes
SET_TESTS_PROPERTIES(
test1 test2 test4 test6 test8 test9
PROPERTIES TIMEOUT 540)
ENDIF()
# Times out after 9 minutes
SET_TESTS_PROPERTIES(
test1 test2 test4 test6 test8 test9
PROPERTIES TIMEOUT 540)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment