summaryrefslogtreecommitdiff
path: root/TAO/tests/IORManipulation/IORTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/IORManipulation/IORTest.cpp')
-rw-r--r--TAO/tests/IORManipulation/IORTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tests/IORManipulation/IORTest.cpp b/TAO/tests/IORManipulation/IORTest.cpp
index 25ba4c4b619..e4c598280ee 100644
--- a/TAO/tests/IORManipulation/IORTest.cpp
+++ b/TAO/tests/IORManipulation/IORTest.cpp
@@ -25,10 +25,7 @@ ACE_RCSID (IORManipluation,
int
ACE_TMAIN(int argc, ACE_TCHAR *argv[])
{
- // The variable is declared volatile because, some compilers
- // optimizes this the wrong way. A case is point is the CC compiler
- // on IRIX.
- volatile int Status = 0;
+ int Status = 0;
ACE_DEBUG ((LM_DEBUG, "---------------------------------------------\n"));
ACE_DEBUG ((LM_DEBUG, "Running the IORManipulation Tests.\n"));
@@ -270,7 +267,10 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
Status = 0;
}
if (Status == 0)
- ACE_DEBUG ((LM_DEBUG, "An ERROR occured during the tests!\n"));
+ {
+ ACE_DEBUG ((LM_DEBUG, "An ERROR occured during the tests!\n"));
+ return -1;
+ }
else
ACE_DEBUG ((LM_DEBUG, "IORManipulation Tests Successfully Completed!\n"));
ACE_DEBUG ((LM_DEBUG, "---------------------------------------------\n"));