[PATCH] makefiles: Make it possible to only build the tests.
Francois Gouget
fgouget at codeweavers.com
Tue Apr 17 20:22:27 CDT 2018
Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
This can be used by the TestBot to simplify how we build the Windows
test executables while avoiding to build all the Windows dlls.
Makefile.in | 3 ++-
tools/makedep.c | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 6b65fdfb8c0..07cbcd8e49d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -3,7 +3,8 @@
# all (default): build wine
# clean: remove all intermediate files
# distclean: also remove all files created by configure
-# test: run tests
+# buildtests: build tests
+# test: build and run tests
# testclean: clean test results to force running all tests again
# crosstest: build tests as native windows applications (requires MinGW)
# install-lib: install libraries needed to run applications
diff --git a/tools/makedep.c b/tools/makedep.c
index c9ab24da790..eff039e8518 100644
--- a/tools/makedep.c
+++ b/tools/makedep.c
@@ -3578,9 +3578,10 @@ static void output_subdirs( struct makefile *make )
}
if (winetest_deps.count)
{
- output( "programs/winetest:" );
+ output( "buildtests:" );
output_filenames( winetest_deps );
output( "\n" );
+ output( "programs/winetest: buildtests\n" );
output( "check test:" );
for (i = 0; i < winetest_deps.count; i++)
{
--
2.17.0
More information about the wine-devel
mailing list