VirtualBox

Ignore:
Timestamp:
Jul 16, 2021 9:11:23 AM (3 years ago)
Author:
vboxsync
Message:

Audio/ValKit: Make sure that the Validation Kit .ISO is mounted to find the VKAT (Validation Kit Audio Test) binary on it. bugref:10008

File:
1 edited

Legend:

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

    r90222 r90224  
    122122        return iArg + 1;
    123123
     124    def actionVerify(self):
     125        """
     126        Verifies the test driver before running.
     127        """
     128        if self.sVBoxValidationKitIso is None or not os.path.isfile(self.sVBoxValidationKitIso):
     129            reporter.error('Cannot find the VBoxValidationKit.iso! (%s)'
     130                           'Please unzip a Validation Kit build in the current directory or in some parent one.'
     131                           % (self.sVBoxValidationKitIso,) );
     132            return False;
     133        return vbox.TestDriver.actionVerify(self);
     134
    124135    def actionConfig(self):
    125136        """
     
    128139        if not self.importVBoxApi(): # So we can use the constant below.
    129140            return False;
    130         return self.oTestVmSet.actionConfig(self);
     141
     142        # Make sure that the Validation Kit .ISO is mounted
     143        # to find the VKAT (Validation Kit Audio Test) binary on it.
     144        assert self.sVBoxValidationKitIso is not None;
     145        return self.oTestVmSet.actionConfig(self, sDvdImage = self.sVBoxValidationKitIso);
    131146
    132147    def actionExecute(self):
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