VirtualBox

Changeset 94245 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Mar 15, 2022 2:09:32 PM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: More code to handle host process execution in a separate thread to not block required event processing [pylint fixes]. bugref:10008

File:
1 edited

Legend:

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

    r94244 r94245  
    8080            'C:\\Apps\\vkat${EXESUFF}',
    8181            'C:\\Apps\\VBoxAudioTest${EXESUFF}',
    82             ## @odo VBoxAudioTest on Guest Additions?
     82            ## @todo VBoxAudioTest on Guest Additions?
    8383        ];
    8484        self.asTestsDef       = [
     
    321321            # For Python 3.x we provide "real-time" output.
    322322            if sys.version_info[0] >= 3:
    323                 while oProcess.stdout.readable():
     323                while oProcess.stdout.readable(): # pylint: disable=no-member
    324324                    sStdOut = oProcess.stdout.readline();
    325325                    if sStdOut:
     
    388388                if not oThread.is_alive():
    389389                    break;
    390                 self.wait(1);
     390                self.processEvents(0);
    391391            reporter.log2('Thread returned exit code for "%s": %d' % (sWhat, self.iThreadHstProcRc));
    392392        except:
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