Remove the outdated guard for protoc availability in tests

MacOS provisioning is fixed long time ago. Remove leftovers from
tests.

Pick-to: 6.8
Taks-number: QTBUG-109130
Change-Id: I4565ffecfd49ac7f6c56045027a6f564d0547e3e
Reviewed-by: Dennis Oberst <dennis.oberst@qt.io>
This commit is contained in:
Alexey Edelev 2024-09-20 13:14:08 +02:00
parent 0ae6627df9
commit fc773b35a1
2 changed files with 0 additions and 10 deletions

View File

@ -88,12 +88,7 @@ void tst_qtgrpcgen::initTestCase()
m_commandLineGenerated = testOutputBaseDir.absolutePath() +
QLatin1StringView("/cmd_line_generation");
QVERIFY(!m_commandLineGenerated.isEmpty());
#ifdef Q_OS_MACOS
if (!protocolCompilerAvailableToRun(protocolBufferCompiler))
QSKIP("Protocol buffer compiler is not provisioned for macOS ARM VMs: QTBUG-109130");
#else
QVERIFY(protocolCompilerAvailableToRun(protocolBufferCompiler));
#endif
}
void tst_qtgrpcgen::cmakeGeneratedFile_data()

View File

@ -101,12 +101,7 @@ void qtprotobufgenTest::initTestCase()
m_cmdLineGenerated = BinaryDir + CmdLineGeneratedPathInfix;
QVERIFY(!m_cmdLineGenerated.isEmpty());
QVERIFY(QFile::exists(m_cmdLineGenerated));
# ifdef Q_OS_MACOS
if (!protocolCompilerAvailableToRun(ProtocPath))
QSKIP("Protocol buffer compiler is not provisioned for macOS ARM VMs: QTBUG-109130");
# else
QVERIFY(protocolCompilerAvailableToRun(ProtocPath));
# endif
#endif
m_cmakeGenerated = QFINDTESTDATA(CMakeGeneratedDir);