[gtk+/wip/meson: 32/135] meson: Build all tests in tests/



commit 40aa1c82e5b4a72ae555d6b32018e42eb88089a0
Author: Timm Bäder <mail baedert org>
Date:   Sat Sep 24 08:45:08 2016 +0200

    meson: Build all tests in tests/

 gtk/meson.build   |    8 ++-
 tests/meson.build |  140 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 143 insertions(+), 5 deletions(-)
---
diff --git a/gtk/meson.build b/gtk/meson.build
index 7f6d70d..1e350d3 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -821,11 +821,13 @@ libgtk = shared_library('gtk',
   gtk_sources,
   gtkmarshal_h,
   c_args: [
-    '-DGTK_COMPILATION', '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
-    '-DGTK_BINARY_VERSION="3"', '-DGTK_HOST="bob"',
+    '-DGTK_COMPILATION',
+    '-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED',
+    '-DGTK_BINARY_VERSION="' + gtk_binary_version + '"',
+    '-DGTK_HOST="' + host_machine.system() + '"',
     '-DGTK_SYSCONFDIR="sysconfdir"',
     '-DGTK_DATA_PREFIX="dataprefix"',
-    '-DGTK_PRINT_BACKENDS="null"', '-DGTK_VERSION="3"',
+    '-DGTK_PRINT_BACKENDS="null"',
     '-DX11_DATA_PREFIX="/usr"'
   ],
   include_directories: [ confinc, gdkinc, gtkinc ],
diff --git a/tests/meson.build b/tests/meson.build
index b39af6a..2a33d7c 100644
--- a/tests/meson.build
+++ b/tests/meson.build
@@ -1,5 +1,141 @@
 
-testpopover = executable('testpopover', 'testpopover.c', dependencies: libgtk_dep)
+test_popover = executable('testpopover', 'testpopover.c', dependencies: libgtk_dep)
 install_data('popover.ui', install_dir: meson.build_root())
 
-testcairo = executable('testcairo', 'testcairo.c', dependencies: libgtk_dep)
+test_cairo = executable('testcairo', 'testcairo.c', dependencies: libgtk_dep)
+test_animated_resizing = executable('animated-resizing',
+  'animated-resizing.c',
+  'frame-stats.c',
+  'frame-stats.h',
+  'variable.c',
+  'variable.h',
+  dependencies: libgtk_dep
+)
+test_animted_revealing = executable('animated-revealing',
+  'animated-revealing.c',
+  'frame-stats.c',
+  'frame-stats.h',
+  'variable.c',
+  'variable.h',
+  dependencies: libgtk_dep
+)
+test_scrolling_performance = executable('scrolling-performance',
+  'scrolling-performance.c',
+  'frame-stats.c',
+  'frame-stats.h',
+  'variable.c',
+  'variable.h',
+  dependencies: libgtk_dep
+)
+test_blur_performance = executable('blur-performance',
+  'blur-performance.c',
+  '../gtk/gtkcairoblur.c',
+  dependencies: libgtk_dep
+)
+test_video_timer = executable('video-timer',
+  'video-timer.c',
+  'variable.c',
+  'variable.h',
+  dependencies: libgtk_dep
+)
+test_print = executable('testprint',
+  'testprint.c',
+  'testprintfileoperation.c',
+  'testprintfileoperation.h',
+  dependencies: libgtk_dep
+)
+test_socket = executable('testsocket',
+  'testsocket.c',
+  'testsocket_common.c',
+  dependencies: libgtk_dep
+)
+test_socket_child = executable('testsocket_child',
+  'testsocket_child.c',
+  'testsocket_common.c',
+  dependencies: libgtk_dep
+)
+test_offscren = executable('testoffscreen',
+  'testoffscreen.c',
+  'gtkoffscreenbox.c',
+  'gtkoffscreenbox.h',
+  dependencies: libgtk_dep
+)
+test_gdkgears = executable('gdkgears',
+  'gdkgears.c',
+  'gtkgears.c',
+  'gtkgears.h',
+  dependencies: libgtk_dep
+)
+test_glblending = executable('testglblending',
+  'testglblending.c',
+  'gtkgears.c',
+  'gtkgears.h',
+  dependencies: libgtk_dep
+)
+
+test_boxcss = executable('testboxcss', 'testboxcss.c', dependencies: libgtk_dep)
+test_entrycompletion = executable('testentrycompletion', 'testentrycompletion.c', dependencies: libgtk_dep)
+test_entryicons = executable('testentryicons', 'testentryicons.c', dependencies: libgtk_dep)
+test_filechooser = executable('testfilechooser', 'testfilechooser.c', dependencies: libgtk_dep)
+test_filechooserbutton = executable('testfilechooserbutton', 'testfilechooserbutton.c', dependencies: 
libgtk_dep)
+test_flowbox = executable('testflowbox', 'testflowbox.c', dependencies: libgtk_dep)
+test_fontselection = executable('testfontselection', 'testfontselection.c', dependencies: libgtk_dep)
+test_fontselectiondialog = executable('testfontselectiondialog', 'testfontselectiondialog.c', dependencies: 
libgtk_dep)
+test_fontchooser = executable('testfontchooser', 'testfontchooser.c', dependencies: libgtk_dep)
+test_fontchooserdialog = executable('testfontchooserdialog', 'testfontchooserdialog.c', dependencies: 
libgtk_dep)
+test_fontoptions = executable('testfontoptions', 'testfontoptions.c', dependencies: libgtk_dep)
+test_grid = executable('testgrid', 'testgrid.c', dependencies: libgtk_dep)
+# TODO: Can't find the x11/gdkx.h
+#test_gtk = executable('testgtk', 'testgtk.c', dependencies: libgtk_dep)
+test_treechanging = executable('testtreechanging', 'testtreechanging.c', dependencies: libgtk_dep)
+test_treednd = executable('testtreednd', 'testtreednd.c', dependencies: libgtk_dep)
+test_treeedit = executable('testtreeedit', 'testtreeedit.c', dependencies: libgtk_dep)
+test_treemodel = executable('testtreemodel', 'testtreemodel.c', dependencies: libgtk_dep)
+test_treeview = executable('testtreeview', 'testtreeview.c', dependencies: libgtk_dep)
+test_toolbar = executable('testtoolbar', 'testtoolbar.c', dependencies: libgtk_dep)
+test_menubutton = executable('testmenubutton', 'testmenubutton.c', dependencies: libgtk_dep)
+test_spinbutton = executable('testspinbutton', 'testspinbutton.c', dependencies: libgtk_dep)
+test_statusicon = executable('teststatusicon', 'teststatusicon.c', dependencies: libgtk_dep)
+test_merge = executable('testmerge', 'testmerge.c', dependencies: libgtk_dep)
+test_actions = executable('testactions', 'testactions.c', dependencies: libgtk_dep)
+test_baseline = executable('testbaseline', 'testbaseline.c', dependencies: libgtk_dep)
+test_bbox = executable('testbbox', 'testbbox.c', dependencies: libgtk_dep)
+test_buttons = executable('testbuttons', 'testbuttons.c', dependencies: libgtk_dep)
+test_frame = executable('testframe', 'testframe.c', dependencies: libgtk_dep)
+test_geometry = executable('testgeometry', 'testgeometry.c', dependencies: libgtk_dep)
+test_giconpixbuf = executable('testgiconpixbuf', 'testgiconpixbuf.c', dependencies: libgtk_dep)
+test_iconview = executable('testiconview', 'testiconview.c', dependencies: libgtk_dep)
+test_iconview_keynav = executable('testiconview_keynav', 'testiconview-keynav.c', dependencies: libgtk_dep)
+test_numerableicon = executable('testnumerableicon', 'testnumerableicon.c', dependencies: libgtk_dep)
+test_recentchooser = executable('testrecentchooser', 'testrecentchooser.c', dependencies: libgtk_dep)
+test_grouping = executable('testgrouping', 'testgrouping.c', dependencies: libgtk_dep)
+test_tooltips = executable('testtooltips', 'testtooltips.c', dependencies: libgtk_dep)
+test_recentchoosermenu = executable('testrecentchoosermenu', 'testrecentchoosermenu.c', dependencies: 
libgtk_dep)
+test_volumebutton = executable('testvolumebutton', 'testvolumebutton.c', dependencies: libgtk_dep)
+test_scrolledwindow = executable('testscrolledwindow', 'testscrolledwindow.c', dependencies: libgtk_dep)
+test_cellarea = executable('testcellarea', 'testcellarea.c', dependencies: libgtk_dep)
+test_treemenu = executable('testtreemenu', 'testtreemenu.c', dependencies: libgtk_dep)
+test_offscreenwindow = executable('testoffscreenwindow', 'testoffscreenwindow.c', dependencies: libgtk_dep)
+test_overlay = executable('testoverlay', 'testoverlay.c', dependencies: libgtk_dep)
+test_overlaystyleclass = executable('testoverlaystyleclass', 'testoverlaystyleclass.c', dependencies: 
libgtk_dep)
+test_appchooser = executable('testappchooser', 'testappchooser.c', dependencies: libgtk_dep)
+test_windows = executable('testwindows', 'testwindows.c', dependencies: libgtk_dep)
+test_expand = executable('testexpand', 'testexpand.c', dependencies: libgtk_dep)
+test_expander = executable('testexpander', 'testexpander.c', dependencies: libgtk_dep)
+test_switch = executable('testswitch', 'testswitch.c', dependencies: libgtk_dep)
+test_styleexamples = executable('styleexamples', 'styleexamples.c', dependencies: libgtk_dep)
+test_toplevelembed = executable('testtoplevelembed', 'testtoplevelembed.c', dependencies: libgtk_dep)
+test_textview = executable('testtextview', 'testtextview.c', dependencies: libgtk_dep)
+test_animation = executable('testanimation', 'testanimation.c', dependencies: libgtk_dep)
+test_pixbuf_scale = executable('testpixbuf_scale', 'testpixbuf-scale.c', dependencies: libgtk_dep)
+test_pixbuf_color = executable('testpixbuf_color', 'testpixbuf-color.c', dependencies: libgtk_dep)
+test_pixbuf_save = executable('testpixbuf_save', 'testpixbuf-save.c', dependencies: libgtk_dep)
+test_colorchooser = executable('testcolorchooser', 'testcolorchooser.c', dependencies: libgtk_dep)
+test_colorchooser2 = executable('testcolorchooser2', 'testcolorchooser2.c', dependencies: libgtk_dep)
+test_kineticscrolling = executable('testkineticscrolling', 'testkineticscrolling.c', dependencies: 
libgtk_dep)
+test_stack = executable('teststack', 'teststack.c', dependencies: libgtk_dep)
+test_revealer = executable('testrevealer', 'testrevealer.c', dependencies: libgtk_dep)
+test_revealer2 = executable('testrevealer2', 'testrevealer2.c', dependencies: libgtk_dep)
+test_titlebar = executable('testtitlebar', 'testtitlebar.c', dependencies: libgtk_dep)
+test_windowsize = executable('testwindowsize', 'testwindowsize.c', dependencies: libgtk_dep)
+test_listmodel = executable('listmodel', 'listmodel.c', dependencies: libgtk_dep)


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