Changeset 89834 in vbox
- Timestamp:
- Jun 22, 2021 1:55:09 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
r89761 r89834 593 593 switch (pOpt->iShort) 594 594 { 595 case 'a': return "Exclude all tests from the list (useful to enable single tests later with --include)"; 596 case 'b': return "The audio backend to use"; 595 597 case 'd': return "Go via DrvAudio instead of directly interfacing with the backend"; 598 case 'e': return "Exclude the given test id from the list"; 599 case 'i': return "Include the given test id in the list"; 596 600 case VKAT_TEST_OPT_DEV: return "Use the specified audio device"; 597 case VKAT_TEST_OPT_GUEST_ATS_ADDR: return "Address of guest ATS to connect to."; 598 case VKAT_TEST_OPT_GUEST_ATS_PORT: return "Port of guest ATS to connect to [6052]."; 599 case VKAT_TEST_OPT_HOST_ATS_ADDR: return "Address of host ATS to connect to."; 600 case VKAT_TEST_OPT_HOST_ATS_PORT: return "Port of host ATS to connect to [6052]."; 601 case VKAT_TEST_OPT_MODE: return "Specifies the mode this program runs at"; 602 case VKAT_TEST_OPT_NO_VERIFY: return "Skips the verification step."; 603 case 'e': return "Exclude the given test id from the list"; 604 case 'a': return "Exclude all tests from the list (useful to enable single tests later with --include)"; 605 case 'i': return "Include the given test id in the list"; 601 case VKAT_TEST_OPT_GUEST_ATS_ADDR: return "Address of guest ATS to connect to"; 602 case VKAT_TEST_OPT_GUEST_ATS_PORT: return "Port of guest ATS to connect to [6042]"; 603 case VKAT_TEST_OPT_HOST_ATS_ADDR: return "Address of host ATS to connect to"; 604 case VKAT_TEST_OPT_HOST_ATS_PORT: return "Port of host ATS to connect to [6052]"; 605 case VKAT_TEST_OPT_MODE: return "Specifies the test mode to use when running the tests"; 606 case VKAT_TEST_OPT_NO_VERIFY: return "Skips the verification step"; 607 case VKAT_TEST_OPT_OUTDIR: return "Specifies the output directory to use"; 608 case VKAT_TEST_OPT_PAUSE: return "Not yet implemented"; 609 case VKAT_TEST_OPT_PCM_HZ: return "Specifies the PCM Hetz (Hz) rate to use [44100]"; 610 case VKAT_TEST_OPT_PCM_BIT: return "Specifies the PCM sample bits (i.e. 16) to use [16]"; 611 case VKAT_TEST_OPT_PCM_CHAN: return "Specifies the number of PCM channels to use [2]"; 612 case VKAT_TEST_OPT_PCM_SIGNED: return "Specifies whether to use signed (true) or unsigned (false) samples [true]"; 613 case VKAT_TEST_OPT_TAG: return "Specifies the test set tag to use"; 614 case VKAT_TEST_OPT_TEMPDIR: return "Specifies the temporary directory to use"; 615 case VKAT_TEST_OPT_VOL: return "Specifies the audio volume (in percent, 0-100) to use"; 616 default: 617 break; 606 618 } 607 619 return NULL; … … 759 771 760 772 if (TstEnv.enmMode == AUDIOTESTMODE_UNKNOWN) 761 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "No test mode specified!\n");773 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "No test mode (--mode) specified!\n"); 762 774 763 775 if (TstEnv.enmMode == AUDIOTESTMODE_HOST) 764 776 { 765 777 if (!pszGuestTcpAddr) 766 return RTMsgErrorExit(RTEXITCODE_SYNTAX, " --guest-ats-address missing\n");778 return RTMsgErrorExit(RTEXITCODE_SYNTAX, "No guest ATS address (--guest-ats-addr) specified!\n"); 767 779 } 768 780 … … 1056 1068 } 1057 1069 } 1070 1071 RTStrmPrintf(pStrm, "\nDefault values for an option are displayed in [] if available.\n"); 1072 1058 1073 return RTEXITCODE_SUCCESS; 1059 1074 } -
trunk/src/VBox/ValidationKit/utils/audio/vkatCmdSelfTest.cpp
r89804 r89834 242 242 switch (pOpt->iShort) 243 243 { 244 case 'b': return "The audio backend to use."; 245 case 'd': return "Go via DrvAudio instead of directly interfacing with the backend."; 244 case 'a': return "Exclude all tests from the list (useful to enable single tests later with --include)"; 245 case 'b': return "The audio backend to use"; 246 case 'd': return "Go via DrvAudio instead of directly interfacing with the backend"; 247 case 'e': return "Exclude the given test id from the list"; 248 case 'i': return "Include the given test id in the list"; 249 case VKAT_SELFTEST_OPT_GUEST_ATS_ADDR: return "Address of guest ATS to connect to"; 250 case VKAT_SELFTEST_OPT_GUEST_ATS_PORT: return "Port of guest ATS to connect to [6042]"; 251 case VKAT_SELFTEST_OPT_HOST_ATS_ADDR: return "Address of host ATS to connect to"; 252 case VKAT_SELFTEST_OPT_HOST_ATS_PORT: return "Port of host ATS to connect to [6052]"; 246 253 default: return NULL; 247 254 }
Note:
See TracChangeset
for help on using the changeset viewer.