[gnome-desktop] tests: install test data to the correct path



commit 0f9cbaf59fb142679c33a829d7c7607557a32faa
Author: Ross Burton <ross burton intel com>
Date:   Fri Apr 17 12:30:34 2020 +0100

    tests: install test data to the correct path
    
    Meson was installing the test data to datadir but also telling the
    binaries to look for the test data in libexecdir.
    
    The installed test specification says 'it is highly encouraged for
    components to place test binaries and data in
    $(libexecdir)/installed-tests/$(PACKAGE)-$(PACKAGE_API_VERSION)' so
    unify on libexecdir.

 tests/meson.build | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/tests/meson.build b/tests/meson.build
index 224348b6..9076d476 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -54,5 +54,6 @@ if get_option('installed_tests')
     'ja_JP.utf8.ref.ui',
     'ja_JP.utf8.ui'
   )
-  install_data(test_data + test_metas, install_dir: test_metadir)
+  install_data(test_data, install_dir: test_execdir)
+  install_data(test_metas, install_dir: test_metadir)
 endif


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]