forked from qt-creator/qt-creator
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 <christian.kandeler@theqtcompany.com>
This commit is contained in:
@@ -27,6 +27,7 @@
|
|||||||
#include <debugger/analyzer/analyzermanager.h>
|
#include <debugger/analyzer/analyzermanager.h>
|
||||||
#include <debugger/analyzer/analyzerruncontrol.h>
|
#include <debugger/analyzer/analyzerruncontrol.h>
|
||||||
#include <debugger/analyzer/analyzerstartparameters.h>
|
#include <debugger/analyzer/analyzerstartparameters.h>
|
||||||
|
#include <utils/hostosinfo.h>
|
||||||
#include <QtTest>
|
#include <QtTest>
|
||||||
#include <QTcpServer>
|
#include <QTcpServer>
|
||||||
|
|
||||||
@@ -39,6 +40,9 @@ LocalQmlProfilerRunnerTest::LocalQmlProfilerRunnerTest(QObject *parent) : QObjec
|
|||||||
|
|
||||||
void LocalQmlProfilerRunnerTest::testRunner()
|
void LocalQmlProfilerRunnerTest::testRunner()
|
||||||
{
|
{
|
||||||
|
if (Utils::HostOsInfo::isWindowsHost())
|
||||||
|
QSKIP("This test is disabled on Windows as it produces a blocking dialog.");
|
||||||
|
|
||||||
LocalQmlProfilerRunner::Configuration configuration;
|
LocalQmlProfilerRunner::Configuration configuration;
|
||||||
Debugger::AnalyzerRunControl *rc = Debugger::createAnalyzerRunControl(
|
Debugger::AnalyzerRunControl *rc = Debugger::createAnalyzerRunControl(
|
||||||
nullptr, ProjectExplorer::Constants::QML_PROFILER_RUN_MODE);
|
nullptr, ProjectExplorer::Constants::QML_PROFILER_RUN_MODE);
|
||||||
|
|||||||
Reference in New Issue
Block a user