summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-11-13 10:59:03 +0530
committerChristoph Reiter <creiter@src.gnome.org>2019-04-11 16:40:33 +0200
commit8ec004cc0888b7472d384d9a5d26e5a9957251f1 (patch)
tree5eab80e6b79be3e36d6babcc0670aa224ce1daf9 /tests
parentc19ae9635e80ca0bf23a01dd8c450613b9b557b8 (diff)
downloadgtk+-8ec004cc0888b7472d384d9a5d26e5a9957251f1.tar.gz
Import meson build files from an 3.22
Specifically, from 6dd6660c685d22e88af5ed4d0b5f1f22df0338de
Diffstat (limited to 'tests')
-rw-r--r--tests/meson.build212
-rw-r--r--tests/visuals/meson.build6
2 files changed, 218 insertions, 0 deletions
diff --git a/tests/meson.build b/tests/meson.build
new file mode 100644
index 0000000000..2fdc5ebd5d
--- /dev/null
+++ b/tests/meson.build
@@ -0,0 +1,212 @@
+
+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_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_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_treefocus = executable('testtreefocus', 'testtreefocus.c', dependencies: libgtk_dep)
+test_treeflow = executable('testtreeflow', 'testtreeflow.c', dependencies: libgtk_dep)
+test_treecolumns = executable('testtreecolumns', 'testtreecolumns.c', dependencies: libgtk_dep)
+test_treecolumnsizing = executable('testtreecolumnsizing', 'testtreecolumnsizing.c', dependencies: libgtk_dep)
+test_treesort = executable('testtreesort', 'testtreesort.c', dependencies: libgtk_dep)
+test_toolbar = executable('testtoolbar', 'testtoolbar.c', dependencies: libgtk_dep)
+test_toolbar2 = executable('testtoolbar2', 'testtoolbar2.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)
+test_popover = executable('testpopover', 'testpopover.c', dependencies: libgtk_dep)
+test_cairo = executable('testcairo', 'testcairo.c', dependencies: libgtk_dep)
+test_overlayscroll = executable('overlayscroll', 'overlayscroll.c', dependencies: libgtk_dep)
+test_syncscroll = executable('syncscroll', 'syncscroll.c', dependencies: libgtk_dep)
+test_subsurface = executable('subsurface', 'subsurface.c', dependencies: libgtk_dep)
+test_motion_compression = executable('motion-compression', 'motion-compression.c', dependencies: libgtk_dep)
+test_simple = executable('simple', 'simple.c', dependencies: libgtk_dep)
+test_flicker = executable('flicker', 'flicker.c', dependencies: libgtk_dep)
+test_print_editor = executable('print-editor', 'print-editor.c', dependencies: libgtk_dep)
+test_accel = executable('testaccel', 'testaccel.c', dependencies: libgtk_dep)
+test_adjustsize = executable('testadjustsize', 'testadjustsize.c', dependencies: libgtk_dep)
+test_appchooserbutton = executable('testappchooserbutton', 'testappchooserbutton.c', dependencies: libgtk_dep)
+test_assistant = executable('testassistant', 'testassistant.c', dependencies: libgtk_dep)
+test_box = executable('testbox', 'testbox.c', dependencies: libgtk_dep)
+test_calendar = executable('testcalendar', 'testcalendar.c', dependencies: libgtk_dep)
+test_clipboard = executable('testclipboard', 'testclipboard.c', dependencies: libgtk_dep)
+test_combo = executable('testcombo', 'testcombo.c', dependencies: libgtk_dep)
+test_combochange = executable('testcombochange', 'testcombochange.c', dependencies: libgtk_dep)
+test_cellrenderertext = executable('testcellrenderertext', 'testcellrenderertext.c', dependencies: libgtk_dep)
+test_dialog = executable('testdialog', 'testdialog.c', dependencies: libgtk_dep)
+test_dnd = executable('testdnd', 'testdnd.c', dependencies: libgtk_dep)
+test_dnd2 = executable('testdnd2', 'testdnd2.c', dependencies: libgtk_dep)
+test_ellipsise = executable('testellipsise', 'testellipsise.c', dependencies: libgtk_dep)
+test_emblems = executable('testemblems', 'testemblems.c', dependencies: libgtk_dep)
+test_fullscreen = executable('testfullscreen', 'testfullscreen.c', dependencies: libgtk_dep)
+test_headerbar = executable('testheaderbar', 'testheaderbar.c', dependencies: libgtk_dep)
+test_heightforwidth = executable('testheightforwidth', 'testheightforwidth.c', dependencies: libgtk_dep)
+test_icontheme = executable('testicontheme', 'testicontheme.c', dependencies: libgtk_dep)
+test_image = executable('testimage', 'testimage.c', dependencies: libgtk_dep)
+test_input = executable('testinput', 'testinput.c', dependencies: libgtk_dep)
+test_list = executable('testlist', 'testlist.c', dependencies: libgtk_dep)
+test_list2 = executable('testlist2', 'testlist2.c', dependencies: libgtk_dep)
+test_list3 = executable('testlist3', 'testlist3.c', dependencies: libgtk_dep)
+test_levelbar = executable('testlevelbar', 'testlevelbar.c', dependencies: libgtk_dep)
+test_lockbutton = executable('testlockbutton', 'testlockbutton.c', dependencies: libgtk_dep)
+test_mountoperation = executable('testmountoperation', 'testmountoperation.c', dependencies: libgtk_dep)
+test_multidisplay = executable('testmultidisplay', 'testmultidisplay.c', dependencies: libgtk_dep)
+test_notebookdnd = executable('testnotebookdnd', 'testnotebookdnd.c', dependencies: libgtk_dep)
+test_nouiprint = executable('testnouiprint', 'testnouiprint.c', dependencies: libgtk_dep)
+test_orientable = executable('testorientable', 'testorientable.c', dependencies: libgtk_dep)
+test_richtext = executable('testrichtext', 'testrichtext.c', dependencies: libgtk_dep)
+test_scale = executable('testscale', 'testscale.c', dependencies: libgtk_dep)
+test_selection = executable('testselection', 'testselection.c', dependencies: libgtk_dep)
+test_selectionmode = executable('testselectionmode', 'testselectionmode.c', dependencies: libgtk_dep)
+test_stockbuttonmenu = executable('teststockbuttonmenu', 'teststockbuttonmenu.c', dependencies: libgtk_dep)
+test_stresstest_toolbar = executable('stresstest-oolbar', 'stresstest-toolbar.c', dependencies: libgtk_dep)
+test_verticalcells = executable('testverticalcells', 'testverticalcells.c', dependencies: libgtk_dep)
+test_treestoretest = executable('treestoretest', 'treestoretest.c', dependencies: libgtk_dep)
+test_xinerama = executable('testxinerama', 'testxinerama.c', dependencies: libgtk_dep)
+test_scrolledge = executable('testscrolledge', 'testscrolledge.c', dependencies: libgtk_dep)
+test_noscreen = executable('testnoscreen', 'testnoscreen.c', dependencies: libgtk_dep)
+test_treepos = executable('testtreepos', 'testtreepos.c', dependencies: libgtk_dep)
+test_sensitive = executable('testsensitive', 'testsensitive.c', dependencies: libgtk_dep)
+test_gmenu = executable('testgmenu', 'testgmenu.c', dependencies: libgtk_dep)
+test_logout = executable('testlogout', 'testlogout.c', dependencies: libgtk_dep)
+test_splitheaders = executable('testsplitheaders', 'testsplitheaders.c', dependencies: libgtk_dep)
+test_actionbar = executable('testactionbar', 'testactionbar.c', dependencies: libgtk_dep)
+test_popup = executable('testpopup', 'testpopup.c', dependencies: libgtk_dep)
+test_popupat = executable('testpopupat', 'testpopupat.c', dependencies: libgtk_dep)
+
+# Conditionally compiled tests
+if x11_enabled
+ 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
+ )
+endif
+
+if os_linux
+ test_fontchooserdialog = executable('testfontchooserdialog', 'testfontchooserdialog.c', dependencies: libgtk_dep)
+endif
+
+subdir('visuals')
diff --git a/tests/visuals/meson.build b/tests/visuals/meson.build
new file mode 100644
index 0000000000..3aa3f9b9f5
--- /dev/null
+++ b/tests/visuals/meson.build
@@ -0,0 +1,6 @@
+
+visuals = executable(
+ 'visuals',
+ 'visuals.c',
+ dependencies: libgtk_dep,
+)