[ros-diffs] [janderwald] 28640: - always wait and then kill the emulator

janderwald at svn.reactos.org janderwald at svn.reactos.org
Wed Aug 29 00:48:40 CEST 2007


Author: janderwald
Date: Wed Aug 29 02:48:40 2007
New Revision: 28640

URL: http://svn.reactos.org/svn/reactos?rev=28640&view=rev
Log:
- always wait and then kill the emulator

Modified:
    trunk/reactos/tools/sysreg/rosboot_test.cpp
    trunk/reactos/tools/sysreg/txtmode.cfg

Modified: trunk/reactos/tools/sysreg/rosboot_test.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/rosboot_test.cpp?rev=28640&r1=28639&r2=28640&view=diff
==============================================================================
--- trunk/reactos/tools/sysreg/rosboot_test.cpp (original)
+++ trunk/reactos/tools/sysreg/rosboot_test.cpp Wed Aug 29 02:48:40 2007
@@ -526,17 +526,14 @@
 //---------------------------------------------------------------------------------------
 	void RosBootTest::cleanup()
 	{
-        	m_DataSource->closeSource();
-		if (m_KillEmulator == "yes")
-		{
-        		OsSupport::sleep(3 * CLOCKS_PER_SEC);
-        		if (m_Pid)
-        		{
-		    		OsSupport::terminateProcess (m_Pid);
-        		}
-        	}	
+        m_DataSource->closeSource();
+        OsSupport::sleep(3 * CLOCKS_PER_SEC);
+        if (m_Pid)
+        {
+			OsSupport::terminateProcess (m_Pid);
+        }
 		delete m_DataSource;
-
+        m_DataSource = NULL;
 	}
     
 //---------------------------------------------------------------------------------------
@@ -819,7 +816,7 @@
 
 			if (!m_DataSource->readSource (vect))
 			{
-				cerr << "No data read" << endl;
+				cerr << "No data read" << GetLastError() << endl;
 				continue;				
 			}
 			if (write_log)

Modified: trunk/reactos/tools/sysreg/txtmode.cfg
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/tools/sysreg/txtmode.cfg?rev=28640&r1=28639&r2=28640&view=diff
==============================================================================
--- trunk/reactos/tools/sysreg/txtmode.cfg (original)
+++ trunk/reactos/tools/sysreg/txtmode.cfg Wed Aug 29 02:48:40 2007
@@ -10,17 +10,14 @@
 ;
 ; This variable sets the path to the emulator 
 ;
-ROS_EMU_PATH=/usr/bin/qemu
-;ROS_EMU_PATH=E:\reactos\qemu\qemu.exe
+ROS_EMU_PATH=E:\reactos\qemu\qemu.exe
 
 
 ; ROS_HDD_IMAGE
 ;
 ; The hdd image to use for running the emulator. If this variable is not
-; set, SysReg will create a HDD with name "ros.hd" in the ROS_OUTPUT 
-; directory using the qemu-img tool. It will search
+; set, SysReg will create a HDD with name "ros.img" using the qemu-img tool. It will search
 ; this tool in the directory of emulator and abort if the tool cannot be found
-ROS_HDD_IMAGE=~/reactos/qemu/ReactOS.hd
 ;ROS_HDD_IMAGE=E:\reactos\qemu\ReactOS.hd
 
 ; ROS_CD_IMAGE
@@ -29,8 +26,8 @@
 ; an ReactOS unattended installation disk. If this variable is not set, SysReg lets the emulator boot
 ; from harddisk.
 ;
-ROS_CD_IMAGE=~/reactos/qemu/bootcd.iso
-;ROS_CD_IMAGE=E:\reactos\qemu\Reactos.iso
+
+;ROS_CD_IMAGE=E:\reactos\qemu\Reactos-Regtest.iso
 
 ;-------------------------------------------------------------------------------------------
 ; Additional Options




More information about the Ros-diffs mailing list