1
0
Fork 0

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
This commit is contained in:
Iain Lane 2019-07-22 21:58:21 +01:00
parent 87c734cef9
commit 59fb26cb00
No known key found for this signature in database
GPG key ID: E352D5C51C5041D4

View file

@ -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',