Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
New tesh file for the msg actions (plus some little fixes to make it work)
[simgrid.git] / buildtools / Cmake / AddTests.cmake
index 567b77e..8004104 100644 (file)
@@ -2,6 +2,8 @@
 exec_program("chmod a=rwx ${PROJECT_DIRECTORY}/buildtools/Cmake/test_java.sh" OUTPUT_VARIABLE "OKITOKI")
 if(enable_smpi)
        exec_program("chmod a=rwx ${CMAKE_BINARY_DIR}/bin/smpicc" OUTPUT_VARIABLE "OKITOKI")
+       exec_program("chmod a=rwx ${CMAKE_BINARY_DIR}/bin/smpif2c" OUTPUT_VARIABLE "OKITOKI")
+       exec_program("chmod a=rwx ${CMAKE_BINARY_DIR}/bin/smpiff" OUTPUT_VARIABLE "OKITOKI")
        exec_program("chmod a=rwx ${CMAKE_BINARY_DIR}/bin/smpirun" OUTPUT_VARIABLE "OKITOKI")
 endif(enable_smpi)
 
@@ -91,6 +93,7 @@ ADD_TEST(tesh-simdag-parser           ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTO
 ADD_TEST(tesh-simdag-parser-bogus-symmetric ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite/simdag/platforms two_hosts_asymetric.tesh)
 ADD_TEST(tesh-simdag-parser-sym-full           ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite/simdag/platforms basic_parsing_test_sym_full.tesh)
 ADD_TEST(tesh-simdag-flatifier         ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite/simdag/platforms flatifier.tesh)
+ADD_TEST(tesh-simdag-full_links                ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite/simdag/platforms get_full_link.tesh)
 ADD_TEST(tesh-simdag-basic0    ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite simdag/basic0.tesh)
 ADD_TEST(tesh-simdag-basic1    ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite simdag/basic1.tesh)
 ADD_TEST(tesh-simdag-basic2    ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/teshsuite simdag/basic2.tesh)
@@ -139,6 +142,7 @@ ADD_TEST(msg-properties             ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/
 ADD_TEST(msg-trace             ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/examples/msg trace/trace.tesh)
 ADD_TEST(msg-masterslave_cpu_ti        ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/examples/msg masterslave/masterslave_cpu_ti.tesh)
 ADD_TEST(msg_icomms ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/examples/msg/icomms peer.tesh)
+ADD_TEST(msg_actions ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/examples/msg/actions actions.tesh)
 
 IF(HAVE_TRACING)
   ADD_TEST(tracing-ms ${CMAKE_BINARY_DIR}/bin/tesh --cd ${PROJECT_DIRECTORY}/examples/msg tracing/ms.tesh)
@@ -271,16 +275,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 +284,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)