Changeset 89685 in vbox for trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
- Timestamp:
- Jun 14, 2021 3:41:09 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/audio/vkat.cpp
r89644 r89685 529 529 { 530 530 /* 531 * Download guest test set to host.531 * Download guest + Validation Kit audio driver test sets to our output directory. 532 532 */ 533 533 char szFileName[RTPATH_MAX]; 534 534 if (RTStrPrintf2(szFileName, sizeof(szFileName), "%s.tar.gz", szTagGuest)) 535 535 { 536 char szFilePath[RTPATH_MAX];537 rc2 = RTPathJoin(szFilePath, sizeof(szFilePath),pTstEnv->szPathOut, szFileName);538 if (RT_SUCCESS(rc 2))536 rc = RTPathJoin(pTstEnv->u.Host.szPathTestSetGuest, sizeof(pTstEnv->u.Host.szPathTestSetGuest), 537 pTstEnv->szPathOut, szFileName); 538 if (RT_SUCCESS(rc)) 539 539 { 540 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Downloading guest test set to '%s'\n", szFilePath); 541 rc2 = AudioTestSvcClientTestSetDownload(&pTstEnv->u.Host.AtsClGuest, szTagGuest, szFilePath); 540 if (RTStrPrintf2(szFileName, sizeof(szFileName), "%s.tar.gz", szTagHost)) 541 { 542 rc = RTPathJoin(pTstEnv->u.Host.szPathTestSetValKit, sizeof(pTstEnv->u.Host.szPathTestSetValKit), 543 pTstEnv->szPathOut, szFileName); 544 } 545 else 546 rc = VERR_BUFFER_OVERFLOW; 547 } 548 else 549 rc = VERR_BUFFER_OVERFLOW; 550 551 if (RT_SUCCESS(rc)) 552 { 553 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Downloading guest test set to '%s'\n", 554 pTstEnv->u.Host.szPathTestSetGuest); 555 rc = AudioTestSvcClientTestSetDownload(&pTstEnv->u.Host.AtsClGuest, 556 szTagGuest, pTstEnv->u.Host.szPathTestSetGuest); 557 } 558 559 if (RT_SUCCESS(rc)) 560 { 561 RTTestPrintf(g_hTest, RTTESTLVL_ALWAYS, "Downloading host test set to '%s'\n", 562 pTstEnv->u.Host.szPathTestSetValKit); 563 rc = AudioTestSvcClientTestSetDownload(&pTstEnv->u.Host.AtsClValKit, 564 szTagHost, pTstEnv->u.Host.szPathTestSetValKit); 542 565 } 543 566 } 544 567 else 545 rc 2= VERR_BUFFER_OVERFLOW;568 rc = VERR_BUFFER_OVERFLOW; 546 569 547 570 if (RT_SUCCESS(rc)) 548 rc = rc2; 571 { 572 573 } 549 574 } 550 575 } … … 816 841 817 842 /** 818 * Verifies one single test set.843 * Verifies one test set pair. 819 844 * 820 845 * @returns VBox status code.
Note:
See TracChangeset
for help on using the changeset viewer.