From 2ae363a8043fe9ada987e81e72332c20a072612c Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Tue, 2 Sep 2025 17:39:23 +0200 Subject: [PATCH] Avoid checking the protoc availablity when crosscompiling Move the protocolCompilerAvailableToRun check under the SKIP_COMMAND_LINE_TESTS guard. Pick-to: 6.9 6.8 Change-Id: Ibd2ce706e7d73d368a89f9f486f3f2fc0f59e7e4 Reviewed-by: Dennis Oberst (cherry picked from commit 76f8c2ffb8deee8a86efd39200405d72c3850106) Reviewed-by: Qt Cherry-pick Bot --- tests/auto/protobufgen/tst_qtprotobufgen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()