Changeset 91723 in vbox for trunk/src/VBox/ValidationKit
- Timestamp:
- Oct 14, 2021 12:28:23 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/tests/audio/tdAudioTest.py
r91613 r91723 227 227 fRc = True; 228 228 229 oVM = None; 230 oVirtualBox = None; 231 229 232 oVirtualBox = self.oVBoxMgr.getVirtualBox(); 230 233 try: 231 234 oVM = oVirtualBox.findMachine(self.sRunningVmName); 232 235 if oVM.state != self.oVBoxMgr.constants.MachineState_Running: 233 reporter.error("Machine '%s' is not in Running state " % (self.sRunningVmName));236 reporter.error("Machine '%s' is not in Running state (state is %d)" % (self.sRunningVmName, oVM.state)); 234 237 fRc = False; 235 238 except: … … 249 252 fRc = False; 250 253 251 del oVM; 252 del oVirtualBox; 254 if oVM: 255 del oVM; 256 if oVirtualBox: 257 del oVirtualBox; 253 258 return fRc; 254 259
Note:
See TracChangeset
for help on using the changeset viewer.