makefiles: Make it possible to only build the tests.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Francois Gouget 2018-04-18 03:22:27 +02:00 committed by Alexandre Julliard
parent 54d3e48448
commit f82b3e5744
1 changed files with 2 additions and 1 deletions

View File

@ -3577,7 +3577,7 @@ static void output_subdirs( struct makefile *make )
}
if (winetest_deps.count)
{
output( "programs/winetest:" );
output( "buildtests programs/winetest:" );
output_filenames( winetest_deps );
output( "\n" );
output( "check test:" );
@ -3588,6 +3588,7 @@ static void output_subdirs( struct makefile *make )
strarray_add( &make->phony_targets, target );
}
output( "\n" );
strarray_add( &make->phony_targets, "buildtests" );
strarray_add( &make->phony_targets, "check" );
strarray_add( &make->phony_targets, "test" );
}