VirtualBox

Changeset 91202 in vbox


Ignore:
Timestamp:
Sep 10, 2021 2:48:49 PM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Don't report the timeout error back to the host VKAT in case of tests still were registered in the Validation Kit audio driver; instead let the verification process later tell what exactly went wrong with the test set. ​bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Audio/DrvHostAudioValidationKit.cpp

    r91200 r91202  
    382382                rc = RTSemEventWait(pThis->EventSemEnded, RT_MS_1MIN);
    383383                if (RT_FAILURE(rc))
     384                {
    384385                    LogRel(("ValKit: Waiting for tests of set '%s' to end failed with %Rrc\n", pszTag, rc));
     386
     387                    /* The verification on the host will tell us later which tests did run and which didn't (anymore).
     388                     * So continue and pack (plus transfer) the test set to the host. */
     389                    if (rc == VERR_TIMEOUT)
     390                        rc = VINF_SUCCESS;
     391                }
    385392
    386393                int rc2 = RTCritSectEnter(&pThis->CritSect);
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