Commit 8e14f1f7 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

winetest: There is no special directory anymore.

parent 1401f913
......@@ -514,11 +514,8 @@ static void remove_dir (const char *dir)
static const char* get_test_source_file(const char* test, const char* subtest)
{
static const char* special_dirs[][2] = {
{ 0, 0 }
};
static char buffer[MAX_PATH];
int i, len = strlen(test);
int len = strlen(test);
if (len > 4 && !strcmp( test + len - 4, ".exe" ))
{
......@@ -527,14 +524,6 @@ static const char* get_test_source_file(const char* test, const char* subtest)
}
else len = sprintf(buffer, "dlls/%s", test);
for (i = 0; special_dirs[i][0]; i++) {
if (strcmp(test, special_dirs[i][0]) == 0) {
strcpy( buffer, special_dirs[i][1] );
len = strlen(buffer);
break;
}
}
sprintf(buffer + len, "/tests/%s.c", subtest);
return buffer;
}
......
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