[MOAB-dev] r1386 - MOAB/trunk

pebay at mcs.anl.gov pebay at mcs.anl.gov
Tue Nov 13 16:44:40 CST 2007


Author: pebay
Date: 2007-11-13 16:44:40 -0600 (Tue, 13 Nov 2007)
New Revision: 1386

Modified:
   MOAB/trunk/CMakeLists.txt
Log:
COMP: add parallel tests


Modified: MOAB/trunk/CMakeLists.txt
===================================================================
--- MOAB/trunk/CMakeLists.txt	2007-11-13 22:09:10 UTC (rev 1385)
+++ MOAB/trunk/CMakeLists.txt	2007-11-13 22:44:40 UTC (rev 1386)
@@ -269,6 +269,14 @@
   # Point to the input decks for the tests
   configure_file( ${MOAB_SOURCE_DIR}/cmake/TestingConfig.h.in ${MOAB_BINARY_DIR}/testdir.h )
 
+  if ( MOAB_USE_MPI AND MPI_FOUND )
+     add_executable ( mbparallelcomm_test mbparallelcomm_test.cpp )
+     target_link_libraries( mbparallelcomm_test MOAB )
+     add_test( TestParallelCommunications ${EXECUTABLE_OUTPUT_PATH}/mbparallelcomm_test )
+     set_source_files_properties( mbparallelcomm_test.cpp
+       COMPILE_FLAGS "-DIS_BUILDING_MB ${MOAB_DEFINES}" )
+  endif ( MOAB_USE_MPI AND MPI_FOUND )
+
   add_executable( moab_test MBTest.cpp )
   target_link_libraries( moab_test MOAB )
   add_test( TestMOAB ${EXECUTABLE_OUTPUT_PATH}/moab_test -nostress )
@@ -279,7 +287,6 @@
   set_source_files_properties( TestTypeSequenceManager.cpp
     COMPILE_FLAGS "-DIS_BUILDING_MB ${MOAB_DEFINES}" )
    add_test( TestTypeSequenceManager ${EXECUTABLE_OUTPUT_PATH}/seq_man_test )
-  # FIXME: moab_test depends on: test/mb_big_test.g test/cell1.gen test/cell2.gen
 
   add_executable( internals_test internals_test.cpp )
   set_source_files_properties( internals_test.cpp




More information about the moab-dev mailing list