tng         2002/11/12 09:52:01

  Modified:    c/tests/DOM/DOMTest DTest.cpp
  Log:
  Test update: do not issue "Test Run Successfully" if there was an error.
  
  Revision  Changes    Path
  1.34      +10 -1     xml-xerces/c/tests/DOM/DOMTest/DTest.cpp
  
  Index: DTest.cpp
  ===================================================================
  RCS file: /home/cvs/xml-xerces/c/tests/DOM/DOMTest/DTest.cpp,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- DTest.cpp 23 Sep 2002 21:00:14 -0000      1.33
  +++ DTest.cpp 12 Nov 2002 17:52:01 -0000      1.34
  @@ -56,6 +56,9 @@
   
   /*
    * $Log$
  + * Revision 1.34  2002/11/12 17:52:01  tng
  + * Test update: do not issue "Test Run Successfully" if there was an error.
  + *
    * Revision 1.33  2002/09/23 21:00:14  tng
    * DOM L3: fix to isDefaultNamespace.  Patch from Gareth Reakes.
    *
  @@ -1052,7 +1055,13 @@
   
       XMLPlatformUtils::Terminate();
   
  -    if (OK) printf("Test Run Successfully\n");
  +    if (!OK) {
  +        printf("Test Failed\n");
  +        return 4;
  +    }
  +
  +    printf("Test Run Successfully\n");
  +
       return 0;
   };
   
  
  
  

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

Reply via email to