VirtualBox

Changeset 92300 in vbox for trunk/src/VBox/ValidationKit


Ignore:
Timestamp:
Nov 9, 2021 6:55:04 PM (3 years ago)
Author:
vboxsync
Message:

ValKit/reporter.py: Tried to fix the XML parsing in FileWrapperTestPipe and extending it to close open <Test> elements on close. [fixed typo, ++]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/reporter.py

    r92283 r92300  
    12791279                        cErrors += self.acTestErrors.pop();
    12801280                    cErrors += 1;
    1281                     g_oReporter.subXmlWrite(self, '  <Failed timestamp="%s"/ errors="%s">\n</Test>\n' % (sNow, cErrors),
     1281                    g_oReporter.subXmlWrite(self,
     1282                                            '\n%s  <Failed timestamp="%s" errors="%s">\n%s</Test>\n'
     1283                                            % ('  ' * self.cTestDepth, sNow, cErrors, '  ' * self.cTestDepth),
    12821284                                            utils.getCallerName());
    12831285
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette