Changeset 98575 in vbox for trunk/src/VBox/HostServices/SharedClipboard
- Timestamp:
- Feb 15, 2023 12:53:23 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedClipboard/testcase/tstClipboardMockHGCM.cpp
r98574 r98575 679 679 } 680 680 681 int main( int argc, char *argv[])681 int main() 682 682 { 683 683 /* 684 684 * Init the runtime, test and say hello. 685 685 */ 686 const char *pcszExecName; 687 NOREF(argc); 688 pcszExecName = strrchr(argv[0], '/'); 689 pcszExecName = pcszExecName ? pcszExecName + 1 : argv[0]; 690 RTEXITCODE rcExit = RTTestInitAndCreate(pcszExecName, &g_hTest); 686 RTEXITCODE rcExit = RTTestInitAndCreate("tstClipboardMockHGCM", &g_hTest); 691 687 if (rcExit != RTEXITCODE_SUCCESS) 692 688 return rcExit; 693 689 RTTestBanner(g_hTest); 694 690 695 #ifndef DEBUG_andy696 /* Don't let assertions in the host service panic (core dump) the test cases. */697 RTAssertSetMayPanic(false);698 #endif699 700 691 PTSTHGCMMOCKSVC const pSvc = TstHgcmMockSvcInst(); 701 692 TstHgcmMockSvcCreate(pSvc); … … 705 696 * Run the tests. 706 697 */ 707 if (0) 708 { 698 if (0) /** @todo triggers assertion */ 709 699 testGuestSimple(); 700 if (1) 710 701 testHostCall(); 711 }712 702 713 703 RT_ZERO(g_TstCtx);
Note:
See TracChangeset
for help on using the changeset viewer.