From: navarrop Date: Thu, 18 Nov 2010 18:19:03 +0000 (+0000) Subject: Update liste of failure tests. X-Git-Tag: v3_5~238 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/a0230e4d8ed5b1989f024c3c4be53450f6ce41cd Update liste of failure tests. 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 --- diff --git a/buildtools/Cmake/AddTests.cmake b/buildtools/Cmake/AddTests.cmake index 567b77e5b5..fa7f83c94b 100644 --- a/buildtools/Cmake/AddTests.cmake +++ b/buildtools/Cmake/AddTests.cmake @@ -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) diff --git a/buildtools/Cmake/Option.cmake b/buildtools/Cmake/Option.cmake index 8d8a4af607..d5f5a2ad87 100644 --- a/buildtools/Cmake/Option.cmake +++ b/buildtools/Cmake/Option.cmake @@ -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