Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update liste of failure tests.
authornavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 18 Nov 2010 18:19:03 +0000 (18:19 +0000)
committernavarrop <navarrop@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 18 Nov 2010 18:19:03 +0000 (18:19 +0000)
Add an hide option for setting them.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8589 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/Cmake/AddTests.cmake
buildtools/Cmake/Option.cmake

index 567b77e..fa7f83c 100644 (file)
@@ -271,16 +271,8 @@ set_tests_properties(ruby-quicksort PROPERTIES WILL_FAIL true)
 endif(HAVE_RUBY)
 
 # Expected to fail for gras
-set(GRAS_IS_BROKEN 0)
-if(GRAS_IS_BROKEN)
-       set_tests_properties( gras-ping-rl PROPERTIES WILL_FAIL true)
-       set_tests_properties( gras-rpc-rl PROPERTIES WILL_FAIL true)
-       if(enable_model-checking) 
-       set_tests_properties( gras-mmrpc-rl PROPERTIES WILL_FAIL true)  
-       endif(enable_model-checking)  
-       set_tests_properties( gras-all2all-rl PROPERTIES WILL_FAIL true)                
-       if(${ARCH_32_BITS})
-               set_tests_properties( gras-ping-sg-32 PROPERTIES WILL_FAIL true)   
+if(GRAS_IS_BROKEN)             
+       if(${ARCH_32_BITS})  
                set_tests_properties( gras-rpc-sg-32 PROPERTIES WILL_FAIL true)   
                set_tests_properties( gras-spawn-sg-32 PROPERTIES WILL_FAIL true)   
                set_tests_properties( gras-all2all-sg-32 PROPERTIES WILL_FAIL true)   
@@ -288,7 +280,6 @@ if(GRAS_IS_BROKEN)
                set_tests_properties( amok-bandwidth-sg-32 PROPERTIES WILL_FAIL true)   
                set_tests_properties( amok-saturate-sg-32 PROPERTIES WILL_FAIL true)  
        else(${ARCH_32_BITS})
-               set_tests_properties( gras-ping-sg-64 PROPERTIES WILL_FAIL true)   
                set_tests_properties( gras-rpc-sg-64 PROPERTIES WILL_FAIL true)   
                set_tests_properties( gras-spawn-sg-64 PROPERTIES WILL_FAIL true)   
                set_tests_properties( gras-all2all-sg-64 PROPERTIES WILL_FAIL true)   
index 8d8a4af..d5f5a2a 100644 (file)
@@ -49,7 +49,7 @@ option(enable_print_message "Enable print message during config." off)
 option(enable_model-checking "" off)
 option(enable_lib_static "" off)
 option(enable_graphviz "" off)
-
+option(GRAS_IS_BROKEN "Set some tests are broken" off)
 if(WIN32 OR APPLE) #actually not enable with windows and Apple
        message("-- Mode supernovae and maintainer are disabled.")
        message("-- Smpi and GTnets are disabled.")
@@ -116,4 +116,5 @@ mark_as_advanced(HAVE_GRAPH_H)
 mark_as_advanced(HAVE_GRAPH_LIB)
 mark_as_advanced(HAVE_CGRAPH_LIB)
 mark_as_advanced(HAVE_AGRAPH_LIB)
-mark_as_advanced(HAVE_CDT_LIB)
\ No newline at end of file
+mark_as_advanced(HAVE_CDT_LIB)
+mark_as_advanced(GRAS_IS_BROKEN)
\ No newline at end of file