Changeset 72729 in vbox
- Timestamp:
- Jun 28, 2018 5:15:35 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 123265
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/additions/tdAddGuestCtrl.py
r72728 r72729 3141 3141 # exceeding the free space of the test VMs. Especially as this used 3142 3142 # the very big (and quickly growing) validation kit ISO originally. 3143 3144 sTestFileBig = self.oTstDrv.getFullResourceName('5.3/guestctrl/50mb_rnd.dat') 3143 sTestFileBig = self.oTstDrv.getFullResourceName('5.3/guestctrl/50mb_rnd.dat'); 3145 3144 if not os.path.isfile(sTestFileBig): 3146 sTestFileBig = self.oTstDrv.getGuestAdditionsIso() 3145 sTestFileBig = self.oTstDrv.getGuestAdditionsIso(); 3147 3146 if sTestFileBig == '' or not os.path.isfile(sTestFileBig): 3148 # Some stupid trickery to guess the location of the validation kit iso. 3149 sTestFileBig = os.path.abspath(os.path.join(os.path.dirname(__file__), '../../VBoxValidationKit.iso')); 3150 if not os.path.isfile(sTestFileBig): 3151 sTestFileBig = os.path.abspath(os.path.join(os.path.dirname(__file__), '../../VBoxTestSuite.iso')); 3152 if not os.path.isfile(sTestFileBig): 3153 sCur = os.getcwd(); 3154 for i in range(0, 10): 3155 sTestFileBig = os.path.join(sCur, 'validationkit/VBoxValidationKit.iso'); 3156 if os.path.isfile(sTestFileBig): 3157 break; 3158 sTestFileBig = os.path.join(sCur, 'testsuite/VBoxTestSuite.iso'); 3159 if os.path.isfile(sTestFileBig): 3160 break; 3161 sCur = os.path.abspath(os.path.join(sCur, '..')); 3162 if i is None: pass; # shut up pychecker/pylint. 3163 3147 sTestFileBig = self.oTstDrv.sVBoxValidationKitIso; 3164 3148 if os.path.isfile(sTestFileBig): 3165 3149 reporter.log('Test file for big copy found at: %s' % (sTestFileBig,));
Note:
See TracChangeset
for help on using the changeset viewer.