| 32 | |
| 33 | private Q_SLOTS: |
| 34 | void initTestCase() |
| 35 | { |
| 36 | const auto exe = CMake::findExecutable(); |
| 37 | QVERIFY(!exe.isEmpty()); |
| 38 | const auto versionStr = CMake::cmakeExecutableVersion(exe); |
| 39 | QVERIFY(!versionStr.isEmpty()); |
| 40 | const auto version = QVersionNumber::fromString(versionStr); |
| 41 | QVERIFY(!version.isNull()); |
| 42 | const bool versionWithServer = (version >= QVersionNumber(3, 8) && version < QVersionNumber(3, 20)); |
| 43 | if (!versionWithServer) |
| 44 | QSKIP("cmake server not supported"); |
| 45 | } |
| 46 | |
| 47 | void testRun() |
| 48 | { |
nothing calls this directly
no test coverage detected