VirtualBox

Changeset 90496 in vbox for trunk/src


Ignore:
Timestamp:
Aug 3, 2021 4:19:42 PM (4 years ago)
Author:
vboxsync
Message:

Audio/ValKit: More bugfixing for tdAudioTest. ​bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/audio/tdAudioTest.py

    r90224 r90496  
    364364            for sExtraData in self.asOptExtraData:
    365365                sKey, sValue = sExtraData.split(':');
    366                 reporter.log('Set extradata: %s => %s' % (sKey, sValue))
     366                reporter.log('Set extradata: %s => %s' % (sKey, sValue));
    367367                fRc = oSession.setExtraData(sKey, sValue) and fRc;
    368368
    369369            # Save the settings.
    370             fRc = fRc and oSession.saveSettings()
     370            fRc = fRc and oSession.saveSettings();
    371371            fRc = oSession.close() and fRc;
    372372
    373373        reporter.testStart('Waiting for TXS');
    374374        oSession, oTxsSession = self.startVmAndConnectToTxsViaTcp(oTestVm.sVmName,
    375                                                                 fCdWait = True,
    376                                                                 cMsTimeout = 3 * 60 * 1000,
    377                                                                 sFileCdWait = '${CDROM}/${OS/ARCH}/vkat${EXESUFF}');
     375                                                                  fCdWait = True,
     376                                                                  cMsTimeout = 3 * 60 * 1000,
     377                                                                  sFileCdWait = '${OS/ARCH}/vkat${EXESUFF}');
    378378        reporter.testDone();
    379         if  oSession    is not None \
    380         and oTxsSession is not None:
     379
     380        if  oSession is not None:
    381381            self.addTask(oTxsSession);
    382382
    383         fRc = self.doTest(oTestVm, oSession, oTxsSession);
    384 
    385         if oSession is not None:
     383            fRc = self.doTest(oTestVm, oSession, oTxsSession);
     384
     385            # Cleanup.
    386386            self.removeTask(oTxsSession);
    387387            self.terminateVmBySession(oSession);
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