From: Augustin Degomme Date: Wed, 23 Jul 2014 09:07:42 +0000 (+0200) Subject: Set 4 tests that fail on Windows and won't ever pass as "expected to fail" X-Git-Tag: v3_12~893^2~11 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/b14a9852e458d841122cf871ffff34e595524f15?hp=222e859267fcc500d3c420c30e00be8f30dfc0ab;ds=inline Set 4 tests that fail on Windows and won't ever pass as "expected to fail" This will allow to better discriminate between bugs and wontfix non-issues. One of them fails because random returns differently on win and generates different colors in the resulting trace. Duh. The three others are expected to crash, and do crash correctly on Windows, but the return code is different from the one expected (SIGABRT). Meh --- diff --git a/buildtools/Cmake/AddTests.cmake b/buildtools/Cmake/AddTests.cmake index f7bb9853d9..d2fbaacb47 100644 --- a/buildtools/Cmake/AddTests.cmake +++ b/buildtools/Cmake/AddTests.cmake @@ -270,6 +270,13 @@ IF(NOT enable_memcheck) ADD_TESH(tesh-parser-bogus-symmetric --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms bogus_two_hosts_asymetric.tesh) ADD_TESH(tesh-parser-bogus-missing-gw --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms bogus_missing_gateway.tesh) ADD_TESH(tesh-parser-bogus-disk-attachment --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms bogus_disk_attachment.tesh) + + #These tests fail on Windows as the signal returned is not the same as Unix would send. + IF(HAVE_TRACING AND WIN32) + set_property(TEST tesh-parser-bogus-symmetric PROPERTY WILL_FAIL TRUE) + set_property(TEST tesh-parser-bogus-missing-gw PROPERTY WILL_FAIL TRUE) + set_property(TEST tesh-parser-bogus-disk-attachment PROPERTY WILL_FAIL TRUE) + ENDIF() ENDIF() ADD_TESH(tesh-simdag-bypass --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --setenv srcdir=${CMAKE_HOME_DIRECTORY} --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms basic_parsing_test_bypass.tesh) ADD_TESH(tesh-simdag-flatifier --setenv bindir=${CMAKE_BINARY_DIR}/teshsuite/simdag/platforms --setenv srcdir=${CMAKE_HOME_DIRECTORY} --cd ${CMAKE_HOME_DIRECTORY}/teshsuite/simdag/platforms flatifier.tesh) @@ -334,7 +341,10 @@ IF(NOT enable_memcheck) ENDIF() # END TESH TESTS - + IF(HAVE_TRACING AND WIN32) + # expect this one to fail on Windows, as generated random colors will be different + set_property(TEST tracing-simdag PROPERTY WILL_FAIL TRUE) + ENDIF() ### SMPI ### IF(enable_smpi) # BEGIN TESH TESTS