Win 2000, XP, etc. fail the sysparams tests when run
non-interactively, so avoid running the tests in that case.
This commit is contained in:
parent
438bf11a7d
commit
6d53c65048
|
@ -1312,6 +1312,10 @@ START_TEST(sysparams)
|
|||
DWORD dwThreadId;
|
||||
HANDLE hInstance = GetModuleHandleA( NULL );
|
||||
|
||||
/* This test requires interactivity, if we don't have it, give up */
|
||||
if (!SystemParametersInfoA( SPI_SETBEEP, TRUE, 0, SPIF_UPDATEINIFILE | SPIF_SENDCHANGE ) &&
|
||||
GetLastError()==ERROR_REQUIRES_INTERACTIVE_WINDOWSTATION) return;
|
||||
|
||||
argc = winetest_get_mainargs(&argv);
|
||||
strict=(argc >= 3 && strcmp(argv[2],"strict")==0);
|
||||
trace("strict=%d\n",strict);
|
||||
|
|
Loading…
Reference in New Issue