mirror of
https://gitlab.winehq.org/wine/wine.git
synced 2024-11-21 17:09:06 -07:00
makedep: Don't add dependencies for tests of disabled dlls.
This commit is contained in:
parent
a97fd9f29e
commit
8670876db9
1 changed files with 6 additions and 2 deletions
|
@ -3558,6 +3558,11 @@ static void output_test_module( struct makefile *make, unsigned int arch )
|
|||
output( "\t%secho \"%s_test.exe TESTRES \\\"%s\\\"\" | %s -u -o $@\n", cmd_prefix( "WRC" ),
|
||||
basemodule, obj_dir_path( make, stripped ), tools_path( make, "wrc" ));
|
||||
|
||||
if (make->disabled[arch] || (parent && parent->disabled[arch]))
|
||||
{
|
||||
make->ok_files = empty_strarray;
|
||||
return;
|
||||
}
|
||||
output_filenames_obj_dir( make, make->ok_files );
|
||||
output( ": %s", obj_dir_path( make, testmodule ));
|
||||
if (parent)
|
||||
|
@ -3568,8 +3573,7 @@ static void output_test_module( struct makefile *make, unsigned int arch )
|
|||
}
|
||||
output( "\n" );
|
||||
output( "%s %s:", obj_dir_path( make, "check" ), obj_dir_path( make, "test" ));
|
||||
if (!make->disabled[arch] && parent && !parent->disabled[arch])
|
||||
output_filenames_obj_dir( make, make->ok_files );
|
||||
output_filenames_obj_dir( make, make->ok_files );
|
||||
output( "\n" );
|
||||
strarray_add_uniq( &make->phony_targets, obj_dir_path( make, "check" ));
|
||||
strarray_add_uniq( &make->phony_targets, obj_dir_path( make, "test" ));
|
||||
|
|
Loading…
Reference in a new issue