[cgma-dev] r5997 - cgm/trunk/itaps

janehu at mcs.anl.gov janehu at mcs.anl.gov
Tue Feb 12 10:11:27 CST 2013


Author: janehu
Date: 2013-02-12 10:11:26 -0600 (Tue, 12 Feb 2013)
New Revision: 5997

Modified:
   cgm/trunk/itaps/Makefile.am
Log:
Changed Makefile.am to let make check do partest when it's in the mpi mode. Passed make checks for both occ and cubit build.

Modified: cgm/trunk/itaps/Makefile.am
===================================================================
--- cgm/trunk/itaps/Makefile.am	2013-02-12 15:54:42 UTC (rev 5996)
+++ cgm/trunk/itaps/Makefile.am	2013-02-12 16:11:26 UTC (rev 5997)
@@ -42,6 +42,9 @@
 if USE_MPI
   AM_CPPFLAGS += -I$(top_srcdir)/geom/parallel -DUSE_MPI
   libiGeom_la_LIBADD += $(top_builddir)/geom/parallel/libcubit_parallel.la
+  TESTS += partest
+  partest_SOURCES = partest.cpp
+  partest_CPPFLAGS = $(testgeom_occ_CPPFLAGS)
 endif
 
 libiGeom_la_SOURCES = \
@@ -89,13 +92,7 @@
 
 copy_attrib_SOURCES = copy_attrib.cpp
 
-if USE_MPI
-  check_PROGRAMS += partest
-  partest_SOURCES = partest.cpp
-  partest_CPPFLAGS = $(testgeom_occ_CPPFLAGS)
-endif
 
-
 # Automake doesn't seem to have a directory defined for
 # platform-dependent data (or include) files. So put 
 # in $(libdir).  Define a $(cfgdir) to get around automake's



More information about the cgma-dev mailing list