winetest: Fix filtering of whole dll when individual tests are excluded.
This commit is contained in:
parent
f3f5230b92
commit
17e2cbd4dc
|
@ -99,7 +99,8 @@ static BOOL test_filtered_out( LPCSTR module, LPCSTR testname )
|
||||||
{
|
{
|
||||||
if (!filters[i][len]) return exclude_tests;
|
if (!filters[i][len]) return exclude_tests;
|
||||||
if (filters[i][len] != ':') continue;
|
if (filters[i][len] != ':') continue;
|
||||||
if (!testname || !strcmp( testname, &filters[i][len+1] )) return exclude_tests;
|
if (testname && !strcmp( testname, &filters[i][len+1] )) return exclude_tests;
|
||||||
|
if (!testname && !exclude_tests) return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return !exclude_tests;
|
return !exclude_tests;
|
||||||
|
|
Loading…
Reference in New Issue