diff options
author | Oliver Wolff <oliver.wolff@qt.io> | 2019-02-28 10:36:14 +0100 |
---|---|---|
committer | Oliver Wolff <oliver.wolff@qt.io> | 2019-02-28 09:48:19 +0000 |
commit | 46425199ebcdd4cb9facb471f67e17a941ca103f (patch) | |
tree | 82b6318fa16f2f7494441b17decb601813d6af77 | |
parent | b7f5cb186df211c1bfcdbaee06fb7ce9146e9a0e (diff) | |
download | qtquickcontrols-46425199ebcdd4cb9facb471f67e17a941ca103f.tar.gz |
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 <mitch.curtis@qt.io>
-rw-r--r-- | tests/shared/qt_quick_controls_quicktest.h | 1 |
1 files changed, 1 insertions, 0 deletions
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); \ |