comparison host/tools/configtool/standalone/win32/ConfigToolDoc.cpp @ 101:c37d3a9e1b28 ecos-sw-2000-06-16

Merge from eCos master repository on 2000-06-16-07:47:03-BST
author jlarmour
date Fri, 16 Jun 2000 16:43:59 +0000
parents 6736c52df507
children
comparison
equal deleted inserted replaced
100:991657282121 101:c37d3a9e1b28
552 CFileNameArray ar; 552 CFileNameArray ar;
553 CFileNameArray arTestsMissing; 553 CFileNameArray arTestsMissing;
554 int nTests=GetTestExeNames(ar,arTestsMissing); 554 int nTests=GetTestExeNames(ar,arTestsMissing);
555 CRunTestsSheet sheet(_T("Run Tests"), NULL, 0, 0); 555 CRunTestsSheet sheet(_T("Run Tests"), NULL, 0, 0);
556 sheet.SetTarget(strTarget); 556 sheet.SetTarget(strTarget);
557 const CeCosTestPlatform * etPlatform = CeCosTestPlatform::Get(strTarget);
558 ASSERT (NULL != etPlatform);
559 if (-1 != CString (etPlatform->GdbCmds ()).Find (_T("cyg_test_is_simulator"))) { // if a simulator target
560 sheet.SetResetNone(); // disable 'reset hardware' message box
561 }
557 sheet.HideRemoteControls(); 562 sheet.HideRemoteControls();
558 if(arTestsMissing.GetSize()){ 563 if(arTestsMissing.GetSize()){
559 if(IDYES==CUtils::MessageBoxFT(MB_YESNO,_T("Not all tests are built. Do you wish to build them now?"))){ 564 if(IDYES==CUtils::MessageBoxFT(MB_YESNO,_T("Not all tests are built. Do you wish to build them now?"))){
560 CConfigTool::GetMain()->SendMessage(WM_COMMAND,ID_BUILD_TESTS); 565 CConfigTool::GetMain()->SendMessage(WM_COMMAND,ID_BUILD_TESTS);
561 return; 566 return;