VirtualBox

Changeset 71677 in vbox


Ignore:
Timestamp:
Apr 5, 2018 12:05:50 PM (7 years ago)
Author:
vboxsync
Message:

ValidationKit/tdUsb1: Turn gadget host connect failures into a reason for skipping the test, avoiding endless errors. Not the perfect solution either, the gadget host hangs needs to be fixed. Oh, and fixed the association between what failed and the message produced for the reattach sub-test (were reversed).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/usb/tdUsb1.py

    r70521 r71677  
    417417            self.oVBox.host.removeUSBDeviceSource(sGadgetHost);
    418418        else:
    419             reporter.testFailure('Failed to connect to USB gadget');
     419            reporter.log('warning: Failed to connect to USB gadget');
     420            fRc = None
    420421
    421422        _ = sUsbCtrl;
     
    462463
    463464                else:
    464                     reporter.testFailure('Failed to impersonate test device');
     465                    reporter.testFailure('Failed to create USB device filter');
    465466
    466467                oUsbGadget.disconnectFrom();
    467468            else:
    468                 reporter.testFailure('Failed to connect to USB gadget');
     469                reporter.testFailure('Failed to impersonate test device');
    469470        else:
    470             reporter.testFailure('Failed to create USB device filter');
     471            reporter.log('warning: Failed to connect to USB gadget');
     472            fRc = None
    471473
    472474        return fRc;
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