summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2025-09-02 17:39:23 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-09-13 17:34:09 +0000
commit2ae363a8043fe9ada987e81e72332c20a072612c (patch)
treef4b9de496cfb619777c5cd652110a7f5c32dd13c
parent39db74769a25b124bc3ade727a518aeeb5dacd7d (diff)
Avoid checking the protoc availablity when crosscompiling6.10
Move the protocolCompilerAvailableToRun check under the SKIP_COMMAND_LINE_TESTS guard. Pick-to: 6.9 6.8 Change-Id: Ibd2ce706e7d73d368a89f9f486f3f2fc0f59e7e4 Reviewed-by: Dennis Oberst <dennis.oberst@qt.io> (cherry picked from commit 76f8c2ffb8deee8a86efd39200405d72c3850106) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--tests/auto/protobufgen/tst_qtprotobufgen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/protobufgen/tst_qtprotobufgen.cpp b/tests/auto/protobufgen/tst_qtprotobufgen.cpp
index 95265b54..38c4ffd3 100644
--- a/tests/auto/protobufgen/tst_qtprotobufgen.cpp
+++ b/tests/auto/protobufgen/tst_qtprotobufgen.cpp
@@ -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()