[glib: 2/3] Move tests/unicode-encoding.c to glib/tests/unicode-encoding.c
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/3] Move tests/unicode-encoding.c to glib/tests/unicode-encoding.c
- Date: Mon, 4 Apr 2022 17:23:49 +0000 (UTC)
commit 795952cb8dbfe6c817ae45909545457acf8c1828
Author: Emmanuel Fleury <emmanuel fleury gmail com>
Date: Sun Apr 3 12:57:07 2022 +0200
Move tests/unicode-encoding.c to glib/tests/unicode-encoding.c
Related to issue #1434
glib/tests/meson.build | 8 ++++++++
{tests => glib/tests}/unicode-encoding.c | 0
{tests => glib/tests}/utf8.txt | 0
tests/meson.build | 8 --------
4 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/glib/tests/meson.build b/glib/tests/meson.build
index 301158e0fb..698d078d60 100644
--- a/glib/tests/meson.build
+++ b/glib/tests/meson.build
@@ -124,6 +124,7 @@ glib_tests = {
'utf8-misc' : {},
'utils' : {},
'unicode' : {},
+ 'unicode-encoding' : {},
'uri' : {},
'1bit-mutex' : {},
'1bit-emufutex' : {
@@ -262,6 +263,13 @@ foreach test_name, extra_args : glib_tests
)
endforeach
+if installed_tests_enabled
+ install_data(
+ 'utf8.txt',
+ install_dir : installed_tests_execdir,
+ )
+endif
+
executable('spawn-path-search-helper', 'spawn-path-search-helper.c',
c_args : test_cargs,
dependencies : test_deps,
diff --git a/tests/unicode-encoding.c b/glib/tests/unicode-encoding.c
similarity index 100%
rename from tests/unicode-encoding.c
rename to glib/tests/unicode-encoding.c
diff --git a/tests/utf8.txt b/glib/tests/utf8.txt
similarity index 100%
rename from tests/utf8.txt
rename to glib/tests/utf8.txt
diff --git a/tests/meson.build b/tests/meson.build
index c95fa1d002..25b9f1f6ca 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -26,7 +26,6 @@ tests = {
'spawn-test' : {},
'thread-test' : {},
'threadpool-test' : {'suite' : ['slow']},
- 'unicode-encoding' : {},
'module-test-library' : {
'dependencies' : [libgmodule_dep],
'export_dynamic' : true,
@@ -58,13 +57,6 @@ else
}
endif
-if installed_tests_enabled
- install_data(
- 'utf8.txt',
- install_dir : installed_tests_execdir,
- )
-endif
-
module_suffix = []
# Keep the autotools convention for shared module suffix because GModule
# depends on it: https://gitlab.gnome.org/GNOME/glib/issues/520
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]