mirror of
https://github.com/reactos/wine.git
synced 2024-12-05 18:27:13 +00:00
oleaut32/tests: Skip cache tests if it's disabled.
This commit is contained in:
parent
d6180c05b5
commit
444bc3556d
@ -6318,6 +6318,11 @@ static void test_bstr_cache(void)
|
||||
|
||||
static const WCHAR testW[] = {'t','e','s','t',0};
|
||||
|
||||
if (GetEnvironmentVariableA("OANOCACHE", NULL, 0)) {
|
||||
skip("BSTR cache is disabled, some tests will be skipped.\n");
|
||||
return;
|
||||
}
|
||||
|
||||
str = SysAllocString(testW);
|
||||
/* This should put the string into cache */
|
||||
SysFreeString(str);
|
||||
|
Loading…
Reference in New Issue
Block a user