VirtualBox

Changeset 91177 in vbox for trunk/src/VBox/Devices


Ignore:
Timestamp:
Sep 9, 2021 11:14:09 AM (3 years ago)
Author:
vboxsync
Message:

Audio/Validation Kit: Also add non-matching to-be-verified values to the error log. ​bugref:10008

File:
1 edited

Legend:

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

    r91135 r91177  
    18031803 * @returns Error if the verification failed and test verification job has fKeepGoing not set.
    18041804 * @param   pVerJob             Verification job to verify value for.
    1805  * @param   pObjA              Object handle A to verify value for.
    1806  * @param   pObjB              Object handle B to verify value for.
     1805 * @param   pObjA               Object handle A to verify value for.
     1806 * @param   pObjB               Object handle B to verify value for.
    18071807 * @param   pszKey              Key to verify.
    18081808 * @param   pszVal              Value to verify.
     
    18251825        {
    18261826            if (RTStrCmp(szValA, szValB))
     1827            {
     1828                int rc2 = audioTestErrorDescAddError(pVerJob->pErr, pVerJob->idxTest,
     1829                                                     "Values are not equal ('%s' vs. '%s')", szValA, szValB);
     1830                AssertRC(rc2);
    18271831                rc = VERR_WRONG_TYPE; /** @todo Fudge! */
     1832            }
    18281833
    18291834            if (pszVal)
    18301835            {
    18311836                if (RTStrCmp(szValA, pszVal))
     1837                {
     1838                    int rc2 = audioTestErrorDescAddError(pVerJob->pErr, pVerJob->idxTest,
     1839                                                         "Values don't match expected value (got '%s', expected '%s')", szValA, pszVal);
     1840                    AssertRC(rc2);
    18321841                    rc = VERR_WRONG_TYPE; /** @todo Fudge! */
     1842                }
    18331843            }
    18341844        }
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