summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/mesonprojectmanager/tests/testmesoninfoparser.cpp4
-rw-r--r--src/plugins/mesonprojectmanager/tests/testmesonwrapper.cpp4
2 files changed, 8 insertions, 0 deletions
diff --git a/src/plugins/mesonprojectmanager/tests/testmesoninfoparser.cpp b/src/plugins/mesonprojectmanager/tests/testmesoninfoparser.cpp
index aae3ca3ca2..35c9ed6b9c 100644
--- a/src/plugins/mesonprojectmanager/tests/testmesoninfoparser.cpp
+++ b/src/plugins/mesonprojectmanager/tests/testmesoninfoparser.cpp
@@ -88,6 +88,10 @@ private slots:
+ "/mesontest-XXXXXX");
Utils::LauncherInterface::setPathToLauncher(qApp->applicationDirPath() + '/'
+ QLatin1String(TEST_RELATIVE_LIBEXEC_PATH));
+
+ const auto path = MesonWrapper::find();
+ if (!path)
+ QSKIP("Meson not found");
}
void shouldListTargets_data()
diff --git a/src/plugins/mesonprojectmanager/tests/testmesonwrapper.cpp b/src/plugins/mesonprojectmanager/tests/testmesonwrapper.cpp
index 8e0edfbe66..6a8c876309 100644
--- a/src/plugins/mesonprojectmanager/tests/testmesonwrapper.cpp
+++ b/src/plugins/mesonprojectmanager/tests/testmesonwrapper.cpp
@@ -55,6 +55,10 @@ private slots:
+ "/mesontest-XXXXXX");
Utils::LauncherInterface::setPathToLauncher(qApp->applicationDirPath() + '/'
+ QLatin1String(TEST_RELATIVE_LIBEXEC_PATH));
+
+ const auto path = MesonWrapper::find();
+ if (!path)
+ QSKIP("Meson not found");
}
void shouldFindMesonFromPATH()