From 14ea26f708d383831c82cd565f976ed39347f0ba Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Thu, 16 Oct 2014 14:14:50 +0200 Subject: [PATCH] tst_QMimeData: test doesn't require QGuiApplication Makes the test execute faster (not that it's slow in any way) and more importantly gets rid of the QGuiApplication-induced 3rd-party library leaks reported by asan and/or valgrind. Change-Id: I94b505f15b4db577a2807b0b81464e19ce7e7cab Reviewed-by: Olivier Goffart --- tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp b/tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp index 1f1777f3b4..f4c267e321 100644 --- a/tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp +++ b/tests/auto/corelib/kernel/qmimedata/tst_qmimedata.cpp @@ -327,5 +327,5 @@ void tst_QMimeData::setUrls() const QCOMPARE(mimeData.hasText(), false); } -QTEST_MAIN(tst_QMimeData) +QTEST_APPLESS_MAIN(tst_QMimeData) #include "tst_qmimedata.moc"