21 cout <<
"rosautotest - ReactOS Automatic Testing Utility" <<
endl
22 <<
"Usage: rosautotest [options] [module] [test]" <<
endl
23 <<
" options:" <<
endl
24 <<
" /? - Shows this help." <<
endl
25 <<
" /c <comment> - Specifies the comment to be submitted to the Web Service." <<
endl
26 <<
" Skips the comment set in the configuration file (if any)." <<
endl
27 <<
" Only has an effect when /w is also used." <<
endl
28 <<
" /n - Do not print test output to console" <<
endl
29 <<
" /r - Maintain information to resume from ReactOS crashes" <<
endl
30 <<
" Can only be run under ReactOS and relies on sysreg2," <<
endl
31 <<
" so incompatible with /w" <<
endl
32 <<
" /s - Shut down the system after finishing the tests." <<
endl
33 <<
" /t <num> - Repeat the test <num> times (1-10000)" <<
endl
34 <<
" /w - Submit the results to the webservice." <<
endl
35 <<
" Requires a \"rosautotest.ini\" with valid login data." <<
endl
36 <<
" Incompatible with the /r option." <<
endl
37 <<
" /l - List all modules that would run." <<
endl
40 <<
" The module to be tested (i.e. \"advapi32\")" <<
endl
41 <<
" If this parameter is specified without any test parameter," <<
endl
42 <<
" all tests of the specified module are run." <<
endl
45 <<
" The test to be run. Needs to be a test of the specified module." <<
endl;
52 ULONG NtGlobalFlags = 0;
124 ss1 <<
"[ROSAUTOTEST] The test will be repeated " <<
Configuration.GetRepeatCount() <<
" times" <<
endl;
136 ss <<
"[ROSAUTOTEST] Running attempt #" <<
i+1 <<
endl;
143 DbgPrint(
"SYSREG_CHECKPOINT:THIRDBOOT_COMPLETE\n");
156 ss <<
"[ROSAUTOTEST] " <<
e.GetMessage();
164 ss <<
"An exception occured in rosautotest." <<
endl
165 <<
"Message: " <<
e.GetMessage()
166 <<
"File: " <<
e.GetFile() <<
endl
167 <<
"Line: " <<
e.GetLine() <<
endl
174 DbgPrint(
"SYSREG_ROSAUTOTEST_FAILURE\n");
180 MSG_TESTS_SUCCESSFUL,
NTSYSAPI NTSTATUS NTAPI NtSetSystemInformation(IN INT SystemInformationClass, IN PVOID SystemInformation, IN ULONG SystemInformationLength)
_STLP_PRIV _Ios_Manip_1< streamsize > _STLP_CALL setprecision(int __n)
ios_base &_STLP_CALL fixed(ios_base &__s)
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)
UINT32 void void ** ReturnValue
#define NT_SUCCESS(StatCode)
BOOL WINAPI ReportEventW(IN HANDLE hEventLog, IN WORD wType, IN WORD wCategory, IN DWORD dwEventID, IN PSID lpUserSid, IN WORD wNumStrings, IN DWORD dwDataSize, IN LPCWSTR *lpStrings, IN LPVOID lpRawData)
DWORD WINAPI GetTickCount(VOID)
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
#define FLG_DISABLE_DEBUG_PROMPTS
static void IntPrintUsage()
CConfiguration Configuration
static VOID SetNtGlobalFlags()
string StringOut(const string &String, bool forcePrint=true)
#define SE_DEBUG_PRIVILEGE
static float(__cdecl *square_half_float)(float x
NTSYSAPI NTSTATUS NTAPI RtlAdjustPrivilege(_In_ ULONG Privilege, _In_ BOOLEAN NewValue, _In_ BOOLEAN ForThread, _Out_ PBOOLEAN OldValue)
NTSYSAPI NTSTATUS NTAPI NtQuerySystemInformation(IN SYSTEM_INFORMATION_CLASS SystemInfoClass, OUT PVOID SystemInfoBuffer, IN ULONG SystemInfoBufferSize, OUT PULONG BytesReturned OPTIONAL)
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG Configuration
DWORD WINAPI GetLastError(void)
#define EVENTLOG_INFORMATION_TYPE