VirtualBox

Ignore:
Timestamp:
Oct 6, 2021 8:40:09 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Don't skip testing if host audio is not available, as VBox then should fall back to the NULL audio backend, which also is worth having as a test case. ​bugref:10008

File:
1 edited

Legend:

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

    r91575 r91585  
    696696            fSkip = True;
    697697
    698         sVkatExe = self.getBinTool('vkat');
    699         asArgs   = [ sVkatExe, 'enum', '--probe-backends' ];
    700         fRc      = self.executeHst("VKAT Host Audio Probing", asArgs);
    701         if  not fSkip \
    702         and not fRc:
    703             reporter.log('Audio not available on host, skipping audio tests.');
    704             fSkip = True;
     698        if not fSkip:
     699            sVkatExe = self.getBinTool('vkat');
     700            asArgs   = [ sVkatExe, 'enum', '--probe-backends' ];
     701            fRc      = self.executeHst("VKAT Host Audio Probing", asArgs);
     702            if not fRc:
     703                # Not fatal, as VBox then should fall back to the NULL audio backend (also worth having as a test case).
     704                reporter.log('Warning: Backend probing on host failed, no audio available (pure server installation?)');
    705705
    706706        if fSkip:
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