[mutter/wip/run-tests-install] cogl/tests: Only install run-tests.sh when building installed tests
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/run-tests-install] cogl/tests: Only install run-tests.sh when building installed tests
- Date: Mon, 22 Jul 2019 21:08:08 +0000 (UTC)
commit 59fb26cb00546f2ab5bd7b643e2dfd77d613b2f3
Author: Iain Lane <iainl gnome org>
Date: Mon Jul 22 21:58:21 2019 +0100
cogl/tests: Only install run-tests.sh when building installed tests
This is a script for installed tests; leave it out otherwise.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/694
cogl/tests/meson.build | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/cogl/tests/meson.build b/cogl/tests/meson.build
index 4bb186424..0d76c8bc9 100644
--- a/cogl/tests/meson.build
+++ b/cogl/tests/meson.build
@@ -6,7 +6,9 @@ cdata.set('HAVE_GLES2', have_gles2.to_int())
cogl_installed_tests_libexecdir = join_paths(
mutter_installed_tests_libexecdir, 'cogl', 'conform')
-install_data('run-tests.sh', install_dir: cogl_installed_tests_libexecdir)
+if have_installed_tests
+ install_data('run-tests.sh', install_dir: cogl_installed_tests_libexecdir)
+endif
cogl_config_env = configure_file(
input: 'config.env.in',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]