Commit 4bf710d7 authored by Daniel Mensinger's avatar Daniel Mensinger

meson: Fixed wrong variable check

parent 50b5372c
Pipeline #6258 canceled with stage
......@@ -235,7 +235,7 @@ QString MesonIntrospectJob::import(BuildDir buildDir)
auto testsJSON = rawData[QStringLiteral("tests")];
if (testsJSON.isArray()) {
m_res_tests = std::make_shared<MesonTestSuites>(testsJSON.toArray(), m_project);
if (m_res_options) {
if (m_res_tests) {
qCDebug(KDEV_Meson) << "MINTRO: Imported " << m_res_tests->testSuites().size() << " test suites";
} else {
qCWarning(KDEV_Meson) << "MINTRO: Failed to parse tests";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment