[libgd/wip/ernestask/gtk4: 6/8] Move tests to subdir
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd/wip/ernestask/gtk4: 6/8] Move tests to subdir
- Date: Sun, 4 Mar 2018 15:17:57 +0000 (UTC)
commit b309ebd3ffe6ec101661f2d1b661f135456b4f72
Author: Ernestas Kulik <ernestask gnome org>
Date: Sun Mar 4 15:51:52 2018 +0200
Move tests to subdir
meson.build | 7 +------
tests/meson.build | 5 +++++
.../test-tagged-entry-2.c | 0
test-tagged-entry.c => tests/test-tagged-entry.c | 0
4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/meson.build b/meson.build
index 5b9bba7..2783e0d 100644
--- a/meson.build
+++ b/meson.build
@@ -16,9 +16,4 @@ libm = cc.find_library('m', required: false)
libgd_include = include_directories('.')
subdir('libgd')
-
-if get_option('with-tagged-entry')
- foreach t : ['test-tagged-entry', 'test-tagged-entry-2']
- executable(t, t + '.c', dependencies : libgd_dep)
- endforeach
-endif
+subdir('tests')
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 0000000..c670626
--- /dev/null
+++ b/tests/meson.build
@@ -0,0 +1,5 @@
+if get_option('with-tagged-entry')
+ foreach t : ['test-tagged-entry', 'test-tagged-entry-2']
+ executable(t, t + '.c', dependencies : libgd_dep)
+ endforeach
+endif
diff --git a/test-tagged-entry-2.c b/tests/test-tagged-entry-2.c
similarity index 100%
rename from test-tagged-entry-2.c
rename to tests/test-tagged-entry-2.c
diff --git a/test-tagged-entry.c b/tests/test-tagged-entry.c
similarity index 100%
rename from test-tagged-entry.c
rename to tests/test-tagged-entry.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]