diff 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
line wrap: on
line diff
--- a/host/tools/configtool/standalone/win32/ConfigToolDoc.cpp
+++ b/host/tools/configtool/standalone/win32/ConfigToolDoc.cpp
@@ -554,6 +554,11 @@ void CConfigToolDoc::RunTests()
   int nTests=GetTestExeNames(ar,arTestsMissing);
   CRunTestsSheet sheet(_T("Run Tests"), NULL, 0, 0);
   sheet.SetTarget(strTarget);
+  const CeCosTestPlatform * etPlatform = CeCosTestPlatform::Get(strTarget);
+  ASSERT (NULL != etPlatform);
+  if (-1 != CString (etPlatform->GdbCmds ()).Find (_T("cyg_test_is_simulator"))) { // if a simulator target
+    sheet.SetResetNone(); // disable 'reset hardware' message box
+  }
   sheet.HideRemoteControls();
   if(arTestsMissing.GetSize()){
     if(IDYES==CUtils::MessageBoxFT(MB_YESNO,_T("Not all tests are built.  Do you wish to build them now?"))){