diff host/tools/configtool/standalone/win32/ConfigToolDoc.cpp @ 82:6736c52df507 ecos-sw-2000-04-14

Merge from eCos master repository on 2000-04-14-13:35:46-BST
author jlarmour
date Tue, 18 Apr 2000 21:51:55 +0000
parents 435cced73e2f
children c37d3a9e1b28
line wrap: on
line diff
--- a/host/tools/configtool/standalone/win32/ConfigToolDoc.cpp
+++ b/host/tools/configtool/standalone/win32/ConfigToolDoc.cpp
@@ -534,7 +534,7 @@ void CConfigToolDoc::RunTests()
   const CString strTarget(CurrentTestingIdentifier());
   TRACE (_T("OnRunSim(): test target ID = '%s'\n"), strTarget);
   
-  if (!CeCosTest::IsValid (strTarget)) {
+  if (NULL==CeCosTestPlatform::Get(strTarget)) {
     if(IDNO==CUtils::MessageBoxFT(MB_YESNO,_T("%s is not a recognized platform - do you wish to add it?"),strTarget)){
       return;
     }
@@ -545,8 +545,8 @@ void CConfigToolDoc::RunTests()
     if(IDCANCEL==dlg.DoModal()){
       return;
     }
-    CeCosTest::AddPlatform(CeCosTest::TargetInfo(dlg.m_strPlatform,dlg.m_strPrefix,dlg.m_nType,dlg.m_strGDB));  
-    CeCosTest::SaveTargetInfo();
+    CeCosTestPlatform::Add(CeCosTestPlatform(dlg.m_strPlatform,dlg.m_strPrefix,dlg.m_strPrompt,dlg.m_strGDB,dlg.m_bServerSideGdb,dlg.m_strInferior));  
+    CeCosTestPlatform::Save();
   }
 
   CFileNameArray ar;