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

kraftche at mcs.anl.gov kraftche at mcs.anl.gov
Wed Nov 5 12:36:38 CST 2008


Author: kraftche
Date: 2008-11-05 12:36:37 -0600 (Wed, 05 Nov 2008)
New Revision: 2216

Modified:
   cgm/trunk/itaps/testgeom.cc
Log:
fix typo and return non-zero exit code if tests fail

Modified: cgm/trunk/itaps/testgeom.cc
===================================================================
--- cgm/trunk/itaps/testgeom.cc	2008-11-05 18:33:54 UTC (rev 2215)
+++ cgm/trunk/itaps/testgeom.cc	2008-11-05 18:36:37 UTC (rev 2216)
@@ -127,7 +127,7 @@
     std::string engine_opt = ";engine=ACIS";
   #elif defined(USE_OCC)
     std::string filename = STRINGIFY(SRCDIR) "/testgeom.brep";
-    std::string engine_opt = ";engine=OCC;
+    std::string engine_opt = ";engine=OCC";
   #else
     std::string filename = STRINGIFY(SRCDIR) "/testgeom.sat";
     std::string engine_opt;
@@ -239,7 +239,7 @@
             << "   Number Failed:          " << number_tests_failed 
             << "\n\n" << std::endl;
   
-  return 0;
+  return number_tests_failed;
 }
 
 /*!




More information about the cgma-dev mailing list