Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Set 4 tests that fail on Windows and won't ever pass as "expected to fail"
[simgrid.git] / buildtools / Cmake / AddTests.cmake
index f7bb985..d2fbaac 100644 (file)
@@ -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