From 46425199ebcdd4cb9facb471f67e17a941ca103f Mon Sep 17 00:00:00 2001 From: Oliver Wolff Date: Thu, 28 Feb 2019 10:36:14 +0100 Subject: Fix blacklisting of auto tests When doing shadow builds, the BLACKLIST file can only be found if QTEST_SET_MAIN_SOURCE_PATH is set. Fixes: QTBUG-74117 Change-Id: Icfb76c313800fefbb68f911779d5ef058b67cf40 Reviewed-by: Mitch Curtis --- tests/shared/qt_quick_controls_quicktest.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/shared/qt_quick_controls_quicktest.h b/tests/shared/qt_quick_controls_quicktest.h index bf6c6559..b12cfc76 100644 --- a/tests/shared/qt_quick_controls_quicktest.h +++ b/tests/shared/qt_quick_controls_quicktest.h @@ -43,6 +43,7 @@ QT_BEGIN_NAMESPACE #define QT_QUICK_CONTROLS_TEST_MAIN(name) \ int main(int argc, char **argv) \ { \ + QTEST_SET_MAIN_SOURCE_PATH \ QtQuickControlsTestApp* app = 0; \ if (!QCoreApplication::instance()) \ app = new QtQuickControlsTestApp(argc, argv); \ -- cgit v1.2.1