mirror of https://github.com/qt/qtgrpc.git
Avoid checking the protoc availablity when crosscompiling
Move the protocolCompilerAvailableToRun check under the SKIP_COMMAND_LINE_TESTS guard. Pick-to: 6.8 Change-Id: Ibd2ce706e7d73d368a89f9f486f3f2fc0f59e7e4 Reviewed-by: Dennis Oberst <dennis.oberst@qt.io> (cherry picked from commit76f8c2ffb8) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit2ae363a804)
This commit is contained in:
parent
53c44a667d
commit
01c79ce83c
|
|
@ -85,8 +85,8 @@ void qtprotobufgenTest::initTestCase()
|
||||||
QVERIFY(!cmakeGeneratedPath().isEmpty());
|
QVERIFY(!cmakeGeneratedPath().isEmpty());
|
||||||
#if QT_CONFIG(process)
|
#if QT_CONFIG(process)
|
||||||
QVERIFY(!cmdLineGeneratedPath().isEmpty());
|
QVERIFY(!cmdLineGeneratedPath().isEmpty());
|
||||||
#endif
|
|
||||||
QVERIFY(protocolCompilerAvailableToRun(ProtocPath));
|
QVERIFY(protocolCompilerAvailableToRun(ProtocPath));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void qtprotobufgenTest::cmakeGenerated_data()
|
void qtprotobufgenTest::cmakeGenerated_data()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue