[gtk/tests-cleanup: 1/3] Move print-editor to demos



commit 694daa1d2044a84b21fcd3fdafbce4bfb7d6ec85
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue May 12 15:28:34 2020 -0400

    Move print-editor to demos
    
    It is too demo-esque for languishing in tests/.

 demos/meson.build                            | 1 +
 demos/print-editor/meson.build               | 6 ++++++
 {tests => demos/print-editor}/print-editor.c | 0
 tests/meson.build                            | 1 -
 4 files changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/demos/meson.build b/demos/meson.build
index c9d7081b40..42590368a2 100644
--- a/demos/meson.build
+++ b/demos/meson.build
@@ -3,3 +3,4 @@ subdir('gtk-demo')
 subdir('icon-browser')
 subdir('node-editor')
 subdir('widget-factory')
+subdir('print-editor')
diff --git a/demos/print-editor/meson.build b/demos/print-editor/meson.build
new file mode 100644
index 0000000000..cca25a946c
--- /dev/null
+++ b/demos/print-editor/meson.build
@@ -0,0 +1,6 @@
+executable('print-editor',
+           ['print-editor.c'],
+           c_args: common_cflags,
+           dependencies: libgtk_dep,
+           include_directories: confinc,
+           gui_app: true)
diff --git a/tests/print-editor.c b/demos/print-editor/print-editor.c
similarity index 100%
rename from tests/print-editor.c
rename to demos/print-editor/print-editor.c
diff --git a/tests/meson.build b/tests/meson.build
index facebb3f01..1e7c504fcd 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -10,7 +10,6 @@ gtk_tests = [
   ['scrolling-performance', ['frame-stats.c', 'variable.c']],
   ['blur-performance', ['../gsk/gskcairoblur.c']],
   ['simple'],
-  ['print-editor'],
   ['video-timer', ['variable.c']],
   ['testaccel'],
   ['testadjustsize'],


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