[cig-commits] r21800 - in short/3D/PyLith/trunk/unittests/libtests: bc faults feassemble friction materials meshio topology utils
brad at geodynamics.org
brad at geodynamics.org
Wed Apr 10 13:03:06 PDT 2013
Author: brad
Date: 2013-04-10 13:03:05 -0700 (Wed, 10 Apr 2013)
New Revision: 21800
Modified:
short/3D/PyLith/trunk/unittests/libtests/bc/Makefile.am
short/3D/PyLith/trunk/unittests/libtests/faults/Makefile.am
short/3D/PyLith/trunk/unittests/libtests/feassemble/Makefile.am
short/3D/PyLith/trunk/unittests/libtests/friction/Makefile.am
short/3D/PyLith/trunk/unittests/libtests/materials/Makefile.am
short/3D/PyLith/trunk/unittests/libtests/meshio/Makefile.am
short/3D/PyLith/trunk/unittests/libtests/topology/Makefile.am
short/3D/PyLith/trunk/unittests/libtests/utils/Makefile.am
Log:
Added leakcheck target in unit tests for easy running of valgrind.
Modified: short/3D/PyLith/trunk/unittests/libtests/bc/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/bc/Makefile.am 2013-04-10 20:02:43 UTC (rev 21799)
+++ short/3D/PyLith/trunk/unittests/libtests/bc/Makefile.am 2013-04-10 20:03:05 UTC (rev 21800)
@@ -158,4 +158,7 @@
endif
+leakcheck: testbc
+ valgrind --log-file=valgrind_bc.log --leak-check=full --suppressions=$(top_srcdir)/share/valgrind-python.supp .libs/testbc
+
# End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/faults/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/faults/Makefile.am 2013-04-10 20:02:43 UTC (rev 21799)
+++ short/3D/PyLith/trunk/unittests/libtests/faults/Makefile.am 2013-04-10 20:03:05 UTC (rev 21800)
@@ -253,4 +253,8 @@
endif
+leakcheck: testfaults
+ valgrind --log-file=valgrind_faults.log --leak-check=full --suppressions=$(top_srcdir)/share/valgrind-python.supp .libs/testfaults
+
+
# End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/feassemble/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/feassemble/Makefile.am 2013-04-10 20:02:43 UTC (rev 21799)
+++ short/3D/PyLith/trunk/unittests/libtests/feassemble/Makefile.am 2013-04-10 20:03:05 UTC (rev 21800)
@@ -374,4 +374,8 @@
endif
+leakcheck: testfeassemble
+ valgrind --log-file=valgrind_feassemble.log --leak-check=full --suppressions=$(top_srcdir)/share/valgrind-python.supp .libs/testfeassemble
+
+
# End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/friction/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/friction/Makefile.am 2013-04-10 20:02:43 UTC (rev 21799)
+++ short/3D/PyLith/trunk/unittests/libtests/friction/Makefile.am 2013-04-10 20:03:05 UTC (rev 21800)
@@ -80,4 +80,8 @@
endif
+leakcheck: testfriction
+ valgrind --log-file=valgrind_friction.log --leak-check=full --suppressions=$(top_srcdir)/share/valgrind-python.supp .libs/testfriction
+
+
# End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/materials/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/materials/Makefile.am 2013-04-10 20:02:43 UTC (rev 21799)
+++ short/3D/PyLith/trunk/unittests/libtests/materials/Makefile.am 2013-04-10 20:03:05 UTC (rev 21800)
@@ -143,4 +143,8 @@
endif
+leakcheck: testmaterials
+ valgrind --log-file=valgrind_materials.log --leak-check=full --suppressions=$(top_srcdir)/share/valgrind-python.supp .libs/testmaterials
+
+
# End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/meshio/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/meshio/Makefile.am 2013-04-10 20:02:43 UTC (rev 21799)
+++ short/3D/PyLith/trunk/unittests/libtests/meshio/Makefile.am 2013-04-10 20:03:05 UTC (rev 21800)
@@ -714,4 +714,8 @@
CLEANFILES = $(noinst_tmp)
+leakcheck: testmeshio
+ valgrind --log-file=valgrind_meshio.log --leak-check=full --suppressions=$(top_srcdir)/share/valgrind-python.supp .libs/testmeshio
+
+
# End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/topology/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/topology/Makefile.am 2013-04-10 20:02:43 UTC (rev 21799)
+++ short/3D/PyLith/trunk/unittests/libtests/topology/Makefile.am 2013-04-10 20:03:05 UTC (rev 21800)
@@ -101,4 +101,8 @@
CLEANFILES = $(noinst_tmp)
+leakcheck: testtopology
+ valgrind --log-file=valgrind_topology.log --leak-check=full --suppressions=$(top_srcdir)/share/valgrind-python.supp .libs/testtopology
+
+
# End of file
Modified: short/3D/PyLith/trunk/unittests/libtests/utils/Makefile.am
===================================================================
--- short/3D/PyLith/trunk/unittests/libtests/utils/Makefile.am 2013-04-10 20:02:43 UTC (rev 21799)
+++ short/3D/PyLith/trunk/unittests/libtests/utils/Makefile.am 2013-04-10 20:03:05 UTC (rev 21800)
@@ -44,4 +44,8 @@
endif
+leakcheck: testutils
+ valgrind --log-file=valgrind_utils.log --leak-check=full --suppressions=$(top_srcdir)/share/valgrind-python.supp .libs/testutils
+
+
# End of file
More information about the CIG-COMMITS
mailing list