[glib: 12/13] tests: Move .test.in template files to tests directory




commit f78e2884d70f7c0b33be02b4879e2f4cefe4e59a
Author: Philip Withnall <pwithnall endlessos org>
Date:   Wed May 11 13:12:20 2022 +0100

    tests: Move .test.in template files to tests directory
    
    This makes a bit more sense than having them cluttering up the root
    directory.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>

 meson.build                                        | 4 ++--
 template-tap.test.in => tests/template-tap.test.in | 0
 template.test.in => tests/template.test.in         | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meson.build b/meson.build
index 6e796b39ba..ea9d950276 100644
--- a/meson.build
+++ b/meson.build
@@ -96,8 +96,8 @@ endif
 installed_tests_metadir = join_paths(glib_datadir, 'installed-tests', meson.project_name())
 installed_tests_execdir = join_paths(glib_libexecdir, 'installed-tests', meson.project_name())
 installed_tests_enabled = get_option('installed_tests')
-installed_tests_template = files('template.test.in')
-installed_tests_template_tap = files('template-tap.test.in')
+installed_tests_template = files('tests/template.test.in')
+installed_tests_template_tap = files('tests/template-tap.test.in')
 
 # Don’t build the tests unless we can run them (either natively, in an exe wrapper, or by installing them 
for later use)
 build_tests = get_option('tests') and (meson.can_run_host_binaries() or installed_tests_enabled)
diff --git a/template-tap.test.in b/tests/template-tap.test.in
similarity index 100%
rename from template-tap.test.in
rename to tests/template-tap.test.in
diff --git a/template.test.in b/tests/template.test.in
similarity index 100%
rename from template.test.in
rename to tests/template.test.in


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