Author: robbinspg
Date: Wed Sep 27 09:37:12 2006
New Revision: 450502

URL: http://svn.apache.org/viewvc?view=rev&rev=450502
Log:
Set return code from sdotest if failure

Modified:
    incubator/tuscany/cpp/sdo/runtime/core/test/main.cpp

Modified: incubator/tuscany/cpp/sdo/runtime/core/test/main.cpp
URL: 
http://svn.apache.org/viewvc/incubator/tuscany/cpp/sdo/runtime/core/test/main.cpp?view=diff&rev=450502&r1=450501&r2=450502
==============================================================================
--- incubator/tuscany/cpp/sdo/runtime/core/test/main.cpp (original)
+++ incubator/tuscany/cpp/sdo/runtime/core/test/main.cpp Wed Sep 27 09:37:12 
2006
@@ -171,7 +171,10 @@
     TEST (  sdotest::jira705() );
 
     cout << "Total tests:" << totaltests << " Tests passed:" << testspassed << 
endl;
-
-return 0;
+       
+       if (totaltests == testspassed)
+               return 0;
+       else
+               return -1;
 }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to