summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIain Lane <iainl@gnome.org>2019-07-22 21:58:21 +0100
committerIain Lane <iainl@gnome.org>2019-07-22 22:07:39 +0100
commit59fb26cb00546f2ab5bd7b643e2dfd77d613b2f3 (patch)
tree4a9352b1ee657c311427a85f4a588f1a8bd90866
parent87c734cef9defbba06a801be4668bf23e4c258e8 (diff)
downloadmutter-wip/run-tests-install.tar.gz
cogl/tests: Only install run-tests.sh when building installed testswip/run-tests-install
This is a script for installed tests; leave it out otherwise. https://gitlab.gnome.org/GNOME/mutter/merge_requests/694
-rw-r--r--cogl/tests/meson.build4
1 files changed, 3 insertions, 1 deletions
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',