Commit 444bc355 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32/tests: Skip cache tests if it's disabled.

parent d6180c05
...@@ -6318,6 +6318,11 @@ static void test_bstr_cache(void) ...@@ -6318,6 +6318,11 @@ static void test_bstr_cache(void)
static const WCHAR testW[] = {'t','e','s','t',0}; 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); str = SysAllocString(testW);
/* This should put the string into cache */ /* This should put the string into cache */
SysFreeString(str); SysFreeString(str);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment