[ros-diffs] [cfinck] 41740: - Fix broken logic for stages with no checkpoint - Correct the comment in the XML file: Due to the now changed logic, the reboots in 1st and 2nd stage setup don't count as retries anymore.

cfinck at svn.reactos.org cfinck at svn.reactos.org
Thu Jul 2 14:06:47 CEST 2009


Author: cfinck
Date: Thu Jul  2 16:06:45 2009
New Revision: 41740

URL: http://svn.reactos.org/svn/reactos?rev=41740&view=rev
Log:
- Fix broken logic for stages with no checkpoint
- Correct the comment in the XML file: Due to the now changed logic, the reboots in 1st and 2nd stage setup don't count as retries anymore.

Modified:
    trunk/tools/sysreg2/sysreg.xml
    trunk/tools/sysreg2/virt.c

Modified: trunk/tools/sysreg2/sysreg.xml
URL: http://svn.reactos.org/svn/reactos/trunk/tools/sysreg2/sysreg.xml?rev=41740&r1=41739&r2=41740&view=diff
==============================================================================
--- trunk/tools/sysreg2/sysreg.xml [iso-8859-1] (original)
+++ trunk/tools/sysreg2/sysreg.xml [iso-8859-1] Thu Jul  2 16:06:45 2009
@@ -10,8 +10,7 @@
 		     See "console.c" code for more details. -->
 		<maxcachehits value="50" />
 
-		<!-- Maximum number of retries allowed before we cancel the entire testing process.
-		     Note that this value needs to be at least 2, since the shutdowns after 1st and 2nd stage count as retries. -->
+		<!-- Maximum number of retries allowed before we cancel the entire testing process. -->
 		<maxretries value="15" />
 	</general>
 	<firststage bootdevice="cdrom">

Modified: trunk/tools/sysreg2/virt.c
URL: http://svn.reactos.org/svn/reactos/trunk/tools/sysreg2/virt.c?rev=41740&r1=41739&r2=41740&view=diff
==============================================================================
--- trunk/tools/sysreg2/virt.c [iso-8859-1] (original)
+++ trunk/tools/sysreg2/virt.c [iso-8859-1] Thu Jul  2 16:06:45 2009
@@ -243,7 +243,7 @@
             break;
         }
 
-        if (Ret == EXIT_CONTINUE || Ret == EXIT_DONT_CONTINUE)
+        if (Ret == EXIT_DONT_CONTINUE)
             break;
     }
 



More information about the Ros-diffs mailing list