From 3cf7b0ca57fff25805dfb4e3c0258797c380f2e2 Mon Sep 17 00:00:00 2001 From: Rohan McGovern <rohan.mcgovern@nokia.com> Date: Thu, 12 May 2011 08:53:27 +1000 Subject: [PATCH] tests: build autotests by default for qtxmlpatterns Configure Qt with `-nomake tests' if you don't want the tests. Reviewed-by: Jason McDonald Change-Id: I73c408278763578173ce0a9b2d57ea4dfcefa49d --- qtxmlpatterns.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qtxmlpatterns.pro b/qtxmlpatterns.pro index 6fe9b061..f3bd6fec 100644 --- a/qtxmlpatterns.pro +++ b/qtxmlpatterns.pro @@ -14,7 +14,8 @@ module_qtxmlpatterns_examples.depends = module_qtxmlpatterns_src module_qtxmlpatterns_tests.subdir = tests module_qtxmlpatterns_tests.target = module-qtxmlpatterns-tests module_qtxmlpatterns_tests.depends = module_qtxmlpatterns_src -module_qtxmlpatterns_tests.CONFIG = no_default_target no_default_install +module_qtxmlpatterns_tests.CONFIG = no_default_install +!contains(QT_BUILD_PARTS,tests):module_qtxmlpatterns_tests.CONFIG += no_default_target SUBDIRS += module_qtxmlpatterns_src \ module_qtxmlpatterns_tools \ -- GitLab