23 cout <<
"rosautotest - ReactOS Automatic Testing Utility" <<
endl
24 <<
"Usage: rosautotest [options] [module] [test]" <<
endl
25 <<
" options:" <<
endl
26 <<
" /? - Shows this help." <<
endl
27 <<
" /c <comment> - Specifies the comment to be submitted to the Web Service." <<
endl
28 <<
" Skips the comment set in the configuration file (if any)." <<
endl
29 <<
" Only has an effect when /w is also used." <<
endl
30 <<
" /n - Do not print test output to console" <<
endl
31 <<
" /r - Maintain information to resume from ReactOS crashes" <<
endl
32 <<
" Can only be run under ReactOS and relies on sysreg2," <<
endl
33 <<
" so incompatible with /w" <<
endl
34 <<
" /s - Shut down the system after finishing the tests." <<
endl
35 <<
" /t <num> - Repeat the test <num> times (1-10000)" <<
endl
36 <<
" /w - Submit the results to the webservice." <<
endl
37 <<
" Requires a \"rosautotest.ini\" with valid login data." <<
endl
38 <<
" Incompatible with the /r option." <<
endl
39 <<
" /l - List all modules that would run." <<
endl
42 <<
" The module to be tested (i.e. \"advapi32\")" <<
endl
43 <<
" If this parameter is specified without any test parameter," <<
endl
44 <<
" all tests of the specified module are run." <<
endl
47 <<
" The test to be run. Needs to be a test of the specified module." <<
endl;
54 ULONG NtGlobalFlags = 0;
135 ss1 <<
"[ROSAUTOTEST] The test will be repeated " <<
Configuration.GetRepeatCount() <<
" times" <<
endl;
147 ss <<
"[ROSAUTOTEST] Running attempt #" <<
i+1 <<
endl;
165 ss << ((
float)TestEndTime / 1000) <<
" seconds" <<
endl;
171 DbgPrint(
"SYSREG_CHECKPOINT:THIRDBOOT_COMPLETE\n");
184 ss <<
"[ROSAUTOTEST] " <<
e.GetMessage();
192 ss <<
"An exception occured in rosautotest." <<
endl
193 <<
"Message: " <<
e.GetMessage()
194 <<
"File: " <<
e.GetFile() <<
endl
195 <<
"Line: " <<
e.GetLine() <<
endl
202 DbgPrint(
"SYSREG_ROSAUTOTEST_FAILURE\n");
208 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)
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 GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
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
_CRTIMP size_t __cdecl wcslen(_In_z_ const wchar_t *_Str)
#define FLG_DISABLE_DEBUG_PROMPTS
#define memmove(s1, s2, n)
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