Changeset 98575 in vbox
- Timestamp:
- Feb 15, 2023 12:53:23 AM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 155861
- Location:
- trunk/src/VBox/HostServices
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/GuestControl/testcase/tstGuestControlMockHGCM.cpp
r98574 r98575 290 290 RTTestBanner(g_hTest); 291 291 292 #if 0 //ndef DEBUG_andy - bird: fix the 'ing code.293 /* Don't let assertions in the host service panic (core dump) the test cases. */294 RTAssertSetMayPanic(false);295 #endif296 297 292 PTSTHGCMMOCKSVC const pSvc = TstHgcmMockSvcInst(); 298 293 TstHgcmMockSvcCreate(pSvc); -
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.