Changeset 89686 in vbox for trunk/src/VBox/ValidationKit/utils
- Timestamp:
- Jun 14, 2021 4:05:31 PM (4 years ago)
- Location:
- trunk/src/VBox/ValidationKit/utils/audio
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r89685 r89686 61 61 *********************************************************************************************************************************/ 62 62 static int audioTestCombineParms(PAUDIOTESTPARMS pBaseParms, PAUDIOTESTPARMS pOverrideParms); 63 static int audioVerifyOne(const char *pszPathSetA, const char *pszPathSetB); 63 64 64 65 … … 119 120 VKAT_TEST_OPT_HOST_ATS_PORT, 120 121 VKAT_TEST_OPT_MODE, 122 VKAT_TEST_OPT_NO_VERIFY, 121 123 VKAT_TEST_OPT_OUTDIR, 122 124 VKAT_TEST_OPT_PAUSE, … … 158 160 { "--exclude", 'e', RTGETOPT_REQ_UINT32 }, 159 161 { "--exclude-all", 'a', RTGETOPT_REQ_NOTHING }, 160 { "--mode", VKAT_TEST_OPT_MODE, RTGETOPT_REQ_STRING },161 162 { "--guest-ats-address", VKAT_TEST_OPT_GUEST_ATS_ADDR, RTGETOPT_REQ_STRING }, 162 163 { "--guest-ats-port", VKAT_TEST_OPT_GUEST_ATS_PORT, RTGETOPT_REQ_UINT32 }, … … 172 173 { "--pcm-hz", VKAT_TEST_OPT_PCM_HZ, RTGETOPT_REQ_UINT16 }, 173 174 { "--pcm-signed", VKAT_TEST_OPT_PCM_SIGNED, RTGETOPT_REQ_BOOL }, 175 { "--mode", VKAT_TEST_OPT_MODE, RTGETOPT_REQ_STRING }, 176 { "--no-verify", VKAT_TEST_OPT_NO_VERIFY, RTGETOPT_REQ_NOTHING }, 174 177 { "--tag", VKAT_TEST_OPT_TAG, RTGETOPT_REQ_STRING }, 175 178 { "--tempdir", VKAT_TEST_OPT_TEMPDIR, RTGETOPT_REQ_STRING }, … … 568 571 rc = VERR_BUFFER_OVERFLOW; 569 572 570 if (RT_SUCCESS(rc)) 573 if ( RT_SUCCESS(rc) 574 && !pTstEnv->fSkipVerify) 571 575 { 572 576 rc = audioVerifyOne(pTstEnv->u.Host.szPathTestSetGuest, pTstEnv->u.Host.szPathTestSetValKit); 573 577 } 578 else 579 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Verification skipped\n"); 574 580 } 575 581 } … … 596 602 case VKAT_TEST_OPT_HOST_ATS_PORT: return "Port of host ATS to connect to [6052]."; 597 603 case VKAT_TEST_OPT_MODE: return "Specifies the mode this program runs at"; 604 case VKAT_TEST_OPT_NO_VERIFY: return "Skips the verification step."; 598 605 case 'e': return "Exclude the given test id from the list"; 599 606 case 'a': return "Exclude all tests from the list (useful to enable single tests later with --include)"; … … 678 685 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "Test mode (guest / host) already specified"); 679 686 TstEnv.enmMode = RTStrICmp(ValueUnion.psz, "guest") == 0 ? AUDIOTESTMODE_GUEST : AUDIOTESTMODE_HOST; 687 break; 688 689 case VKAT_TEST_OPT_NO_VERIFY: 690 TstEnv.fSkipVerify = true; 680 691 break; 681 692 -
trunk/src/VBox/ValidationKit/utils/audio/vkatInternal.h
r89685 r89686 182 182 /** Whether self test mode is active or not. */ 183 183 bool fSelftest; 184 /** Whether skip the actual verification or not. */ 185 bool fSkipVerify; 184 186 /** Output path for storing the test environment's final test files. */ 185 187 char szTag[AUDIOTEST_TAG_MAX];
Note:
See TracChangeset
for help on using the changeset viewer.