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>
This commit is contained in:
Sergio Ahumada 2012-12-11 21:28:51 +01:00 committed by The Qt Project
parent 4afc88b381
commit b17e030ef5

View File

@ -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