mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 15:43:19 +00:00
[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:
parent
d78a21fe33
commit
8e230698ba
4 changed files with 15 additions and 7 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue