You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuscany.apache.org by ro...@apache.org on 2006/09/27 18:37:13 UTC
svn commit: r450502 - /incubator/tuscany/cpp/sdo/runtime/core/test/main.cpp
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: tuscany-commits-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-commits-help@ws.apache.org