Output "SYSREG_ROSAUTOTEST_FAILURE" for sysreg2 in case of a failure inside rosautotest

svn path=/trunk/; revision=40211
This commit is contained in:
Colin Finck 2009-03-24 20:49:04 +00:00
parent 0a05554c18
commit 1463b225be

View file

@ -59,7 +59,7 @@ wmain(int argc, wchar_t* argv[])
/* Run the tests */
WineTest.Run();
/* For sysreg */
/* For sysreg2 */
DbgPrint("SYSREG_CHECKPOINT:THIRDBOOT_COMPLETE\n");
ReturnValue = 0;
@ -84,6 +84,10 @@ wmain(int argc, wchar_t* argv[])
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;