From a5a6206e92cc2fbf6f1455a812968ea6bc9238bc Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Tue, 14 Jun 2016 10:21:38 +0200 Subject: [PATCH] QmlProfiler: Disable a plugin unit test on Windows This test does start QC with '-version' which results in a (blocking) dialog on Windows. Change-Id: I75fc84382bf7228f17febe4b852db01362b02537 Reviewed-by: Christian Kandeler --- src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp b/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp index 3606c8c2cf2..7012720e96c 100644 --- a/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp +++ b/src/plugins/qmlprofiler/tests/localqmlprofilerrunner_test.cpp @@ -27,6 +27,7 @@ #include #include #include +#include #include #include @@ -39,6 +40,9 @@ LocalQmlProfilerRunnerTest::LocalQmlProfilerRunnerTest(QObject *parent) : QObjec void LocalQmlProfilerRunnerTest::testRunner() { + if (Utils::HostOsInfo::isWindowsHost()) + QSKIP("This test is disabled on Windows as it produces a blocking dialog."); + LocalQmlProfilerRunner::Configuration configuration; Debugger::AnalyzerRunControl *rc = Debugger::createAnalyzerRunControl( nullptr, ProjectExplorer::Constants::QML_PROFILER_RUN_MODE);