[cig-commits] [commit] knepley/upgrade-petsc-interface: TopologyTests: Only need to disable tensor product fault mesh tests (9559ab4)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Tue Oct 29 12:35:29 PDT 2013


Repository : ssh://geoshell/pylith

On branch  : knepley/upgrade-petsc-interface
Link       : https://github.com/geodynamics/pylith/compare/bdcd276300d9bfb60c6eb1bf5ab7622d170ed3c3...fa51e996b6e488bee3553868d0bcf40e778caa3b

>---------------------------------------------------------------

commit 9559ab4846d510b1d71fe36281f8a885f4256940
Author: Matthew G. Knepley <knepley at gmail.com>
Date:   Tue Oct 29 14:37:15 2013 -0500

    TopologyTests: Only need to disable tensor product fault mesh tests


>---------------------------------------------------------------

9559ab4846d510b1d71fe36281f8a885f4256940
 unittests/libtests/topology/TestRefineUniform.cc | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/unittests/libtests/topology/TestRefineUniform.cc b/unittests/libtests/topology/TestRefineUniform.cc
index 827b3d2..3e6333a 100644
--- a/unittests/libtests/topology/TestRefineUniform.cc
+++ b/unittests/libtests/topology/TestRefineUniform.cc
@@ -79,13 +79,8 @@ pylith::topology::TestRefineUniform::testRefineTri3Level1Fault1(void)
 { // testRefineTri3Level1Fault1
   PYLITH_METHOD_BEGIN;
 
-#if !defined(DISABLE_FAULT_TEST)
   MeshDataCohesiveTri3Level1Fault1 data;
   _testRefine(data, true);
-#else
-  std::cout << "****TEST IS DISABLED. FORCING FAILURE.****" << std::endl;
-  CPPUNIT_ASSERT(false);
-#endif
 
   PYLITH_METHOD_END;
 } // testRefineTri3Level1Fault1
@@ -141,13 +136,8 @@ pylith::topology::TestRefineUniform::testRefineTet4Level1Fault1(void)
 { // testRefineTet4Level1Fault1
   PYLITH_METHOD_BEGIN;
 
-#if !defined(DISABLE_FAULT_TEST)
   MeshDataCohesiveTet4Level1Fault1 data;
   _testRefine(data, true);
-#else
-  std::cout << "****TEST IS DISABLED. FORCING FAILURE.****" << std::endl;
-  CPPUNIT_ASSERT(false);
-#endif
 
   PYLITH_METHOD_END;
 } // testRefineTet4Level1Fault1



More information about the CIG-COMMITS mailing list