summaryrefslogtreecommitdiff
path: root/mkspecs/features/ctest_testcase.prf
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2012-12-11 21:28:51 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-11 22:03:00 +0100
commitb17e030ef516fc3a62ee705697cd6f803c3f083b (patch)
treeb2f0067e8167784ac40137d1c3daa2007162cb87 /mkspecs/features/ctest_testcase.prf
parent4afc88b381128302c383a1d82ed93e6274bac9f1 (diff)
downloadqtbase-b17e030ef516fc3a62ee705697cd6f803c3f083b.tar.gz
test: Mark cmake tests as insignificant when -no-widgets is used
Task-number: QTBUG-28540 Change-Id: Iaa238ce8fb857ec8856dd9d6f3adc49795db1de1 Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Diffstat (limited to 'mkspecs/features/ctest_testcase.prf')
-rw-r--r--mkspecs/features/ctest_testcase.prf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkspecs/features/ctest_testcase.prf b/mkspecs/features/ctest_testcase.prf
index de61ae96cb..555a0bbe5c 100644
--- a/mkspecs/features/ctest_testcase.prf
+++ b/mkspecs/features/ctest_testcase.prf
@@ -53,4 +53,6 @@ insignificant_test:!isEmpty(check.commands) {
check.commands = -$${check.commands}
}
+isEmpty(QT.widgets.name):CONFIG += insignificant_test # QTBUG-28540
+
QMAKE_EXTRA_TARGETS *= check