VirtualBox

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


Ignore:
Timestamp:
Feb 22, 2024 8:27:01 AM (13 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
161861
Message:

Validation Kit/tdAudioTest: More fixes for host execution of VKAT.

File:
1 edited

Legend:

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

    r103499 r103518  
    459459
    460460        # Adjust fRc if caller expected a specific exit code.
    461         if  iExpectedRc \
    462         and iRc is not iExpectedRc:
     461        if  iExpectedRc is not None \
     462        and (iRc != iExpectedRc):
    463463            reporter.error('Executing \"%s\" on host failed (got exit code %d, expected %d'
    464464                           % (sWhat, iRc, iExpectedRc,));
    465465            fRc = False;
    466466
     467        reporter.log2('Got fRc = %s + exit code %d' % (fRc, iRc,));
    467468        return fRc, iRc;
    468469
     
    681682        # Let VKAT on the host run synchronously.
    682683        #
    683         fRc, _ = self.executeHst("VKAT Host", asArgs);
     684        fRc, _ = self.executeHst("VKAT Host", asArgs, iExpectedRc = 0);
    684685
    685686        reporter.testDone();
Note: See TracChangeset for help on using the changeset viewer.

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