From b7f082f4184344a7a218e0c0f20aa036bbca1479 Mon Sep 17 00:00:00 2001 From: Rohan McGovern Date: Thu, 12 May 2011 08:48:41 +1000 Subject: tests: build autotests by default for qtphonon Configure Qt with `-nomake tests' if you don't want the tests. Reviewed-by: Jason McDonald Change-Id: I4cffe33eadb69c1b525946860f9166b1a8797bea --- qtphonon.pro | 6 ++++++ tests/tests.pro | 2 ++ 2 files changed, 8 insertions(+) create mode 100644 tests/tests.pro diff --git a/qtphonon.pro b/qtphonon.pro index 0da9087..bdc0f98 100644 --- a/qtphonon.pro +++ b/qtphonon.pro @@ -2,3 +2,9 @@ TEMPLATE = subdirs CONFIG += ordered SUBDIRS += src \ # examples \ + +tests.subdir = tests +tests.CONFIG = no_default_install +!contains(QT_BUILD_PARTS,tests):tests.CONFIG += no_default_target + +SUBDIRS += tests diff --git a/tests/tests.pro b/tests/tests.pro new file mode 100644 index 0000000..c75a32a --- /dev/null +++ b/tests/tests.pro @@ -0,0 +1,2 @@ +TEMPLATE = subdirs +SUBDIRS = auto -- cgit v1.2.3