winetest: Fix filtering of whole dll when individual tests are excluded.

This commit is contained in:
Alexandre Julliard 2010-12-10 12:13:15 +01:00
parent f3f5230b92
commit 17e2cbd4dc
1 changed files with 2 additions and 1 deletions

View File

@ -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;