[ROSTESTS] Skip some flaky test / do not count successes

This commit is contained in:
Timo Kreuzer 2019-09-15 15:07:32 +02:00
parent c082d08cf3
commit e26c8bc66f
29 changed files with 152 additions and 13 deletions

View file

@ -2572,7 +2572,7 @@ static void test_TerminateJobObject(void)
ret = GetExitCodeProcess(pi.hProcess, &dwret);
ok(ret, "GetExitCodeProcess error %u\n", GetLastError());
ok(dwret == 123 || broken(dwret == 0) /* randomly fails on Win 2000 / XP */,
ok(dwret == 123 || broken(dwret == 0) || broken(dwret == 259) /* randomly fails on Win 2000 / XP */,
"wrong exitcode %u\n", dwret);
CloseHandle(pi.hProcess);
@ -3419,7 +3419,9 @@ static void test_SuspendProcessState(void)
#endif
ret = ReadProcessMemory( pi.hProcess, peb_ptr, &child_peb, sizeof(child_peb), NULL );
ros_skip_flaky
ok( ret, "Failed to read PEB (%u)\n", GetLastError() );
ros_skip_flaky
ok( child_peb.ImageBaseAddress == exe_base, "wrong base %p/%p\n",
child_peb.ImageBaseAddress, exe_base );
ok( entry_ptr == (char *)exe_base + nt_header.OptionalHeader.AddressOfEntryPoint,