mirror of
https://github.com/reactos/reactos.git
synced 2025-04-05 21:21:33 +00:00
[SHELL32_APITEST] Try to fix Test Win2003_x64
rm: cannot remove 'C:\\tests/testdata/shell32_apitest_sub.exe': Permission denied
This commit is contained in:
parent
e52ce89be3
commit
3ed22ed326
1 changed files with 7 additions and 3 deletions
|
@ -930,12 +930,13 @@ static unsigned __stdcall TestThreadProc(void *)
|
||||||
|
|
||||||
START_TEST(SHChangeNotify)
|
START_TEST(SHChangeNotify)
|
||||||
{
|
{
|
||||||
#ifdef DISABLE_THIS_TESTCASE
|
|
||||||
skip("This testcase is disabled by DISABLE_THIS_TESTCASE macro.\n");
|
|
||||||
#endif
|
|
||||||
#ifdef TOTAL_TICK
|
#ifdef TOTAL_TICK
|
||||||
DWORD dwOldTick = GetTickCount();
|
DWORD dwOldTick = GetTickCount();
|
||||||
#endif
|
#endif
|
||||||
|
#ifdef DISABLE_THIS_TESTCASE
|
||||||
|
skip("This testcase is disabled by DISABLE_THIS_TESTCASE macro.\n");
|
||||||
|
return;
|
||||||
|
#endif
|
||||||
|
|
||||||
trace("Please don't operate your PC while testing...\n");
|
trace("Please don't operate your PC while testing...\n");
|
||||||
|
|
||||||
|
@ -961,4 +962,7 @@ START_TEST(SHChangeNotify)
|
||||||
DWORD dwTick = dwNewTick - dwOldTick;
|
DWORD dwTick = dwNewTick - dwOldTick;
|
||||||
trace("SHChangeNotify: Total %lu.%lu sec\n", (dwTick / 1000), (dwTick / 100 % 10));
|
trace("SHChangeNotify: Total %lu.%lu sec\n", (dwTick / 1000), (dwTick / 100 % 10));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
DoWaitForWindow(CLASSNAME, CLASSNAME, TRUE, TRUE);
|
||||||
|
Sleep(500);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue