From 886803ab44e82f7437f2f961148de49ca05593a8 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Mon, 16 Jan 2012 08:48:55 +1000 Subject: Split shared tests into prebuild and postbuild tests The qtqa repo contains autotests which are applicable to multiple Qt modules. Split them into tests which can be run prior to building Qt (typically static code checks) and tests which need to be run after building Qt (typically checks on the binaries themselves). The primary benefit of this change is that the static checks can be run much earlier in the test process. Task-number: QTQAINFRA-421 Change-Id: I075bc43e566d5c40322d065b876a11c9a9da84df Sanity-Review: Qt Sanity Bot Reviewed-by: Jyri Tahtela --- tests/tests.pro | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'tests/tests.pro') diff --git a/tests/tests.pro b/tests/tests.pro index 5606d52a..8937d8be 100644 --- a/tests/tests.pro +++ b/tests/tests.pro @@ -1,13 +1,10 @@ TEMPLATE = subdirs -SUBDIRS += shared +SUBDIRS += prebuild postbuild -# The `shared' directory is a special case. It does _not_ contain autotests -# specifically for qtqa - rather it contains autotests which may be applied to +# These tests are a special case. They do _not_ contain autotests +# specifically for qtqa - rather they contain autotests which may be applied to # any Qt module. They are not supposed to be run by default when doing # `make check' in qtqa - if you want to run them, you need to explicitly opt-in -# by doing `make check' under tests/shared . -check.CONFIG = recursive -check.recurse = $$SUBDIRS -check.recurse -= shared -check.recurse_target = check -QMAKE_EXTRA_TARGETS += check +# by doing `make check' under tests/prebuild or tests/postbuild . +prebuild.CONFIG += no_check_target +postbuild.CONFIG += no_check_target -- cgit v1.2.3