35 FATAL(
"GetWindowsDirectoryW failed\n");
63 bool FoundFile =
false;
88 FindPath +=
L"_*.exe";
113 DWORD BytesAvailable;
121 CommandLine +=
L" --list";
129 TESTEXCEPTION(
"WaitForSingleObject failed for the test list\n");
151 return BytesAvailable;
219 std::stringstream
ss;
236 size_t UnderscorePosition;
241 TestInfo->CommandLine +=
' ';
290 DWORD BytesAvailable;
298 ss <<
"Running Wine Test, Module: " << TestInfo->
Module <<
", Test: " << TestInfo->
Test <<
endl;
317 Buffer[BytesAvailable] = 0;
331 TESTEXCEPTION(
"Timeout while waiting for the test process\n");
342 if(!tailString.empty())
346 TestInfo->
Log +=
e.GetMessage();
350 if(!tailString.empty())
354 ssFinish <<
"Test " << TestInfo->
Test <<
" completed in ";
357 TestInfo->
Log += ssFinish.
str();
397 while((TestInfo =
TestList->GetNextTestInfo()) != 0)
404 WebService->Submit(
"wine", TestInfo);
411 WebService->Finish(
"wine");
static const DWORD ListTimeout
static const DWORD ProcessActivityTimeout
static KSTART_ROUTINE RunTest
_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)
char * strchr(const char *String, int ch)
friend class CJournaledTestList
friend class CVirtualTestList
CTestInfo * GetNextTestInfo()
void RunTest(CTestInfo *TestInfo)
void reset(_Tp *__px=0) _STLP_NOTHROW
_Tp * release() _STLP_NOTHROW
#define GetEnvironmentVariableW(x, y, z)
#define INVALID_HANDLE_VALUE
UINT WINAPI SetErrorMode(IN UINT uMode)
HANDLE WINAPI FindFirstFileW(IN LPCWSTR lpFileName, OUT LPWIN32_FIND_DATAW lpFindFileData)
BOOL WINAPI FindClose(HANDLE hFindFile)
BOOL WINAPI FindNextFileW(IN HANDLE hFindFile, OUT LPWIN32_FIND_DATAW lpFindFileData)
BOOL WINAPI SetCurrentDirectoryW(IN LPCWSTR lpPathName)
UINT WINAPI GetWindowsDirectoryW(OUT LPWSTR lpBuffer, IN UINT uSize)
DWORD WINAPI GetTickCount(VOID)
_Must_inspect_result_ _In_ PLARGE_INTEGER _In_ PLARGE_INTEGER _In_ ULONG _In_ PFILE_OBJECT _In_ PVOID Process
string StringOut(const string &String, bool forcePrint=true)
string UnicodeToAscii(PCWSTR UnicodeString)
wstring AsciiToUnicode(const char *AsciiString)
#define TESTEXCEPTION(Message)
static float(__cdecl *square_half_float)(float x
#define SEM_FAILCRITICALERRORS
#define SEM_NOGPFAULTERRORBOX
DWORD WINAPI WaitForSingleObject(IN HANDLE hHandle, IN DWORD dwMilliseconds)
static LARGE_INTEGER StartTime
EH_STD::__list__< TestClass, eh_allocator(TestClass) > TestList
_Must_inspect_result_ _In_ WDFDEVICE _In_ PWDF_INTERRUPT_CONFIG Configuration
_In_ WDFMEMORY _Out_opt_ size_t * BufferSize
#define ERROR_BROKEN_PIPE