Author: cfinck
Date: Tue Mar 24 23:49:04 2009
New Revision: 40211
URL: http://svn.reactos.org/svn/reactos?rev=40211&view=rev
Log:
Output "SYSREG_ROSAUTOTEST_FAILURE" for sysreg2 in case of a failure inside rosautotest
Modified:
trunk/rostests/rosautotest/main.cpp
Modified: trunk/rostests/rosautotest/main.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/rostests/rosautotest/main.cpp?rev=…
==============================================================================
--- trunk/rostests/rosautotest/main.cpp [iso-8859-1] (original)
+++ trunk/rostests/rosautotest/main.cpp [iso-8859-1] Tue Mar 24 23:49:04 2009
@@ -59,7 +59,7 @@
/* Run the tests */
WineTest.Run();
- /* For sysreg */
+ /* For sysreg2 */
DbgPrint("SYSREG_CHECKPOINT:THIRDBOOT_COMPLETE\n");
ReturnValue = 0;
@@ -84,6 +84,10 @@
StringOut(ss.str());
}
+ /* For sysreg2 to notice if rosautotest itself failed */
+ if(ReturnValue == 1)
+ DbgPrint("SYSREG_ROSAUTOTEST_FAILURE\n");
+
/* Shut down the system if requested, also in case of an exception above */
if(Configuration.DoShutdown() && !ShutdownSystem())
ReturnValue = 1;