Changeset 46333 in vbox
- Timestamp:
- May 30, 2013 5:27:55 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/test.cpp
r46317 r46333 775 775 rtTestXmlOutput(pTest, "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"); 776 776 pTest->eXmlState = RTTESTINT::kXmlPos_ElementEnd; 777 if (!(pTest->fFlags & RTTEST_C_XML_DELAY_TOP_TEST)) 778 { 779 pTest->fXmlTopTestDone = true; 780 if (!pTest->fXmlOmitTopTest) 781 rtTestXmlElemStart(pTest, "Test", "name=%RMas", pszTest); 782 } 777 pTest->fXmlTopTestDone = !(pTest->fFlags & RTTEST_C_XML_DELAY_TOP_TEST) || pTest->fXmlOmitTopTest; 778 if (pTest->fXmlTopTestDone && !pTest->fXmlOmitTopTest) 779 rtTestXmlElemStart(pTest, "Test", "name=%RMas", pszTest); 783 780 } 784 781 } … … 939 936 */ 940 937 size_t i = pTest->cXmlElements; 941 AssertReturnVoid(i > 0 || pTest->fXmlOmitTopTest );938 AssertReturnVoid(i > 0 || pTest->fXmlOmitTopTest || !pTest->fXmlTopTestDone); 942 939 while (i-- > 1) 943 940 {
Note:
See TracChangeset
for help on using the changeset viewer.