[ROSAUTOTEST]

- Add /n option to suppress console output. May or may not help to speed up testbot runs, but can't hurt to have in here.

svn path=/trunk/; revision=66318
This commit is contained in:
Thomas Faber 2015-02-16 14:55:39 +00:00
parent d78a21fe33
commit 8e230698ba
4 changed files with 15 additions and 7 deletions

View file

@ -16,14 +16,13 @@ typedef void (WINAPI *GETSYSINFO)(LPSYSTEM_INFO);
* Constructs an empty CConfiguration object
*/
CConfiguration::CConfiguration()
: m_CrashRecovery(false),
m_PrintToConsole(true),
m_Shutdown(false),
m_Submit(false)
{
WCHAR WindowsDirectory[MAX_PATH];
/* Zero-initialize variables */
m_CrashRecovery = false;
m_Shutdown = false;
m_Submit = false;
/* Check if we are running under ReactOS from the SystemRoot directory */
if(!GetWindowsDirectoryW(WindowsDirectory, MAX_PATH))
FATAL("GetWindowsDirectoryW failed");
@ -55,6 +54,10 @@ CConfiguration::ParseParameters(int argc, wchar_t* argv[])
m_Comment = UnicodeToAscii(argv[i]);
break;
case 'n':
m_PrintToConsole = false;
break;
case 'r':
m_CrashRecovery = true;
break;