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 6.9 6.10 Change-Id: Ibd2ce706e7d73d368a89f9f486f3f2fc0f59e7e4 Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
This commit is contained in:
parent
6de39ba5eb
commit
76f8c2ffb8
|
|
@ -92,8 +92,8 @@ void qtprotobufgenTest::initTestCase()
|
|||
QVERIFY(!cmakeGeneratedPath().isEmpty());
|
||||
#if !defined(SKIP_COMMAND_LINE_TESTS)
|
||||
QVERIFY(!cmdLineGeneratedPath().isEmpty());
|
||||
#endif
|
||||
QVERIFY(protocolCompilerAvailableToRun(ProtocPath));
|
||||
#endif
|
||||
}
|
||||
|
||||
void qtprotobufgenTest::cmakeGenerated_data()
|
||||
|
|
|
|||
Loading…
Reference in New Issue