From 1463b225be6286b32d1dc8ae2423590625dafd1a Mon Sep 17 00:00:00 2001 From: Colin Finck Date: Tue, 24 Mar 2009 20:49:04 +0000 Subject: [PATCH] Output "SYSREG_ROSAUTOTEST_FAILURE" for sysreg2 in case of a failure inside rosautotest svn path=/trunk/; revision=40211 --- rostests/rosautotest/main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/rostests/rosautotest/main.cpp b/rostests/rosautotest/main.cpp index 6b54ac87d60..5fb5dd4c297 100644 --- a/rostests/rosautotest/main.cpp +++ b/rostests/rosautotest/main.cpp @@ -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; -- 2.17.1