VirtualBox

Ignore:
Timestamp:
Sep 2, 2021 9:21:13 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: When playing or recording a test tone on the guest side fails, there is no point in retrying with next iterations -- just bail out instead. ​bugref:10008

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp

    r91082 r91085  
    338338
    339339        if (RT_FAILURE(rc))
     340        {
    340341            RTTestFailed(g_hTest, "Test #%RU32/%RU16: Playing test tone failed with %Rrc\n", pTstParms->idxCurrent, i, rc);
     342            break; /* Not worth retrying, bail out. */
     343        }
    341344    }
    342345
     
    441444
    442445        if (RT_FAILURE(rc))
     446        {
    443447            RTTestFailed(g_hTest, "Test #%RU32/%RU16: Recording test tone failed with %Rrc\n", pTstParms->idxCurrent, i, rc);
     448            break; /* Not worth retrying, bail out. */
     449        }
    444450    }
    445451
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