mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
meson: tests: update and sync with Makefiles
This commit is contained in:
parent
b6722b0a36
commit
08153c3854
@ -1,176 +1,148 @@
|
|||||||
test_animated_resizing = executable('animated-resizing',
|
gtk_tests = [
|
||||||
'animated-resizing.c',
|
# testname, optional extra sources
|
||||||
'frame-stats.c',
|
['rendernode'],
|
||||||
'frame-stats.h',
|
['rendernode-create-tests'],
|
||||||
'variable.c',
|
['overlayscroll'],
|
||||||
'variable.h',
|
['syncscroll'],
|
||||||
dependencies: libgtk_dep
|
['animated-resizing', ['frame-stats.c', 'variable.c']],
|
||||||
)
|
['animated-revealing', ['frame-stats.c', 'variable.c']],
|
||||||
test_animted_revealing = executable('animated-revealing',
|
['motion-compression'],
|
||||||
'animated-revealing.c',
|
['scrolling-performance', ['frame-stats.c', 'variable.c']],
|
||||||
'frame-stats.c',
|
['blur-performance', ['../gsk/gskcairoblur.c']],
|
||||||
'frame-stats.h',
|
['simple'],
|
||||||
'variable.c',
|
['flicker'],
|
||||||
'variable.h',
|
['print-editor'],
|
||||||
dependencies: libgtk_dep
|
['video-timer', ['variable.c']],
|
||||||
)
|
['testaccel'],
|
||||||
test_scrolling_performance = executable('scrolling-performance',
|
['testadjustsize'],
|
||||||
'scrolling-performance.c',
|
['testappchooser'],
|
||||||
'frame-stats.c',
|
['testappchooserbutton'],
|
||||||
'frame-stats.h',
|
['testassistant'],
|
||||||
'variable.c',
|
['testbaseline'],
|
||||||
'variable.h',
|
['testbbox'],
|
||||||
dependencies: libgtk_dep
|
['testbox'],
|
||||||
)
|
['testboxcss'],
|
||||||
test_blur_performance = executable('blur-performance',
|
['testbuttons'],
|
||||||
'blur-performance.c',
|
['testcairo'],
|
||||||
'../gsk/gskcairoblur.c',
|
['testcalendar'],
|
||||||
dependencies: libgtk_dep
|
['testclipboard'],
|
||||||
)
|
['testcolorchooser'],
|
||||||
test_video_timer = executable('video-timer',
|
['testcolorchooser2'],
|
||||||
'video-timer.c',
|
['testcombo'],
|
||||||
'variable.c',
|
['testcombochange'],
|
||||||
'variable.h',
|
['testcellrenderertext'],
|
||||||
dependencies: libgtk_dep
|
['testdialog'],
|
||||||
)
|
['testdnd'],
|
||||||
test_print = executable('testprint',
|
['testdnd2'],
|
||||||
'testprint.c',
|
['testellipsise'],
|
||||||
'testprintfileoperation.c',
|
['testemblems'],
|
||||||
'testprintfileoperation.h',
|
['testentrycompletion'],
|
||||||
dependencies: libgtk_dep
|
['testentryicons'],
|
||||||
)
|
['testfilechooser'],
|
||||||
|
['testfilechooserbutton'],
|
||||||
test_gdkgears = executable('gdkgears',
|
['testflowbox'],
|
||||||
'gdkgears.c',
|
['testfontchooser'],
|
||||||
'gtkgears.c',
|
['testfontoptions'],
|
||||||
'gtkgears.h',
|
['testframe'],
|
||||||
dependencies: libgtk_dep
|
['testfullscreen'],
|
||||||
)
|
['testgiconpixbuf'],
|
||||||
test_glblending = executable('testglblending',
|
['testglarea'],
|
||||||
'testglblending.c',
|
['testglblending', ['gtkgears.c']],
|
||||||
'gtkgears.c',
|
['testgrid'],
|
||||||
'gtkgears.h',
|
['testgtk'],
|
||||||
dependencies: libgtk_dep
|
['testheaderbar'],
|
||||||
)
|
['testheightforwidth'],
|
||||||
|
['testiconview'],
|
||||||
test_boxcss = executable('testboxcss', 'testboxcss.c', dependencies: libgtk_dep)
|
['testiconview-keynav'],
|
||||||
test_entrycompletion = executable('testentrycompletion', 'testentrycompletion.c', dependencies: libgtk_dep)
|
['testicontheme'],
|
||||||
test_entryicons = executable('testentryicons', 'testentryicons.c', dependencies: libgtk_dep)
|
['testimage'],
|
||||||
test_filechooser = executable('testfilechooser', 'testfilechooser.c', dependencies: libgtk_dep)
|
['testinput'],
|
||||||
test_filechooserbutton = executable('testfilechooserbutton', 'testfilechooserbutton.c', dependencies: libgtk_dep)
|
['testkineticscrolling'],
|
||||||
test_flowbox = executable('testflowbox', 'testflowbox.c', dependencies: libgtk_dep)
|
['testlist'],
|
||||||
test_fontchooser = executable('testfontchooser', 'testfontchooser.c', dependencies: libgtk_dep)
|
['testlist2'],
|
||||||
test_fontoptions = executable('testfontoptions', 'testfontoptions.c', dependencies: libgtk_dep)
|
['testlist3'],
|
||||||
test_grid = executable('testgrid', 'testgrid.c', dependencies: libgtk_dep)
|
['testlevelbar'],
|
||||||
# TODO: Can't find the x11/gdkx.h
|
['testlockbutton'],
|
||||||
#test_gtk = executable('testgtk', 'testgtk.c', dependencies: libgtk_dep)
|
['testmenubutton'],
|
||||||
test_treechanging = executable('testtreechanging', 'testtreechanging.c', dependencies: libgtk_dep)
|
['testmountoperation'],
|
||||||
test_treednd = executable('testtreednd', 'testtreednd.c', dependencies: libgtk_dep)
|
['testmultidisplay'],
|
||||||
test_treeedit = executable('testtreeedit', 'testtreeedit.c', dependencies: libgtk_dep)
|
['testnotebookdnd'],
|
||||||
test_treemodel = executable('testtreemodel', 'testtreemodel.c', dependencies: libgtk_dep)
|
['testnouiprint'],
|
||||||
test_treeview = executable('testtreeview', 'testtreeview.c', dependencies: libgtk_dep)
|
['testorientable'],
|
||||||
test_treefocus = executable('testtreefocus', 'testtreefocus.c', dependencies: libgtk_dep)
|
['testoverlay'],
|
||||||
test_treeflow = executable('testtreeflow', 'testtreeflow.c', dependencies: libgtk_dep)
|
['testoverlaystyleclass'],
|
||||||
test_treecolumns = executable('testtreecolumns', 'testtreecolumns.c', dependencies: libgtk_dep)
|
['testprint', ['testprintfileoperation.c']],
|
||||||
test_treecolumnsizing = executable('testtreecolumnsizing', 'testtreecolumnsizing.c', dependencies: libgtk_dep)
|
['testrecentchooser'],
|
||||||
test_treesort = executable('testtreesort', 'testtreesort.c', dependencies: libgtk_dep)
|
['testrecentchoosermenu'],
|
||||||
test_toolbar = executable('testtoolbar', 'testtoolbar.c', dependencies: libgtk_dep)
|
['testrichtext'],
|
||||||
test_toolbar2 = executable('testtoolbar2', 'testtoolbar2.c', dependencies: libgtk_dep)
|
['testscale'],
|
||||||
test_menubutton = executable('testmenubutton', 'testmenubutton.c', dependencies: libgtk_dep)
|
['testselection'],
|
||||||
test_spinbutton = executable('testspinbutton', 'testspinbutton.c', dependencies: libgtk_dep)
|
['testselectionmode'],
|
||||||
test_baseline = executable('testbaseline', 'testbaseline.c', dependencies: libgtk_dep)
|
['testspinbutton'],
|
||||||
test_bbox = executable('testbbox', 'testbbox.c', dependencies: libgtk_dep)
|
['testtoolbar'],
|
||||||
test_buttons = executable('testbuttons', 'testbuttons.c', dependencies: libgtk_dep)
|
['testtoolbar2'],
|
||||||
test_frame = executable('testframe', 'testframe.c', dependencies: libgtk_dep)
|
['stresstest-toolbar'],
|
||||||
test_giconpixbuf = executable('testgiconpixbuf', 'testgiconpixbuf.c', dependencies: libgtk_dep)
|
['testtreechanging'],
|
||||||
test_iconview = executable('testiconview', 'testiconview.c', dependencies: libgtk_dep)
|
['testtreednd'],
|
||||||
test_iconview_keynav = executable('testiconview_keynav', 'testiconview-keynav.c', dependencies: libgtk_dep)
|
['testtreeedit'],
|
||||||
test_recentchooser = executable('testrecentchooser', 'testrecentchooser.c', dependencies: libgtk_dep)
|
['testtreemodel'],
|
||||||
test_grouping = executable('testgrouping', 'testgrouping.c', dependencies: libgtk_dep)
|
['testtreeview'],
|
||||||
test_tooltips = executable('testtooltips', 'testtooltips.c', dependencies: libgtk_dep)
|
['testtreefocus'],
|
||||||
test_recentchoosermenu = executable('testrecentchoosermenu', 'testrecentchoosermenu.c', dependencies: libgtk_dep)
|
['testtreeflow'],
|
||||||
test_volumebutton = executable('testvolumebutton', 'testvolumebutton.c', dependencies: libgtk_dep)
|
['testtreecolumns'],
|
||||||
test_scrolledwindow = executable('testscrolledwindow', 'testscrolledwindow.c', dependencies: libgtk_dep)
|
['testtreecolumnsizing'],
|
||||||
test_cellarea = executable('testcellarea', 'testcellarea.c', dependencies: libgtk_dep)
|
['testtreesort'],
|
||||||
test_overlay = executable('testoverlay', 'testoverlay.c', dependencies: libgtk_dep)
|
['testverticalcells'],
|
||||||
test_overlaystyleclass = executable('testoverlaystyleclass', 'testoverlaystyleclass.c', dependencies: libgtk_dep)
|
['treestoretest'],
|
||||||
test_appchooser = executable('testappchooser', 'testappchooser.c', dependencies: libgtk_dep)
|
['testxinerama'],
|
||||||
test_expand = executable('testexpand', 'testexpand.c', dependencies: libgtk_dep)
|
['testgrouping'],
|
||||||
test_expander = executable('testexpander', 'testexpander.c', dependencies: libgtk_dep)
|
['testtooltips'],
|
||||||
test_switch = executable('testswitch', 'testswitch.c', dependencies: libgtk_dep)
|
['testexpand'],
|
||||||
test_toplevelembed = executable('testtoplevelembed', 'testtoplevelembed.c', dependencies: libgtk_dep)
|
['testexpander'],
|
||||||
test_textview = executable('testtextview', 'testtextview.c', dependencies: libgtk_dep)
|
['testvolumebutton'],
|
||||||
test_animation = executable('testanimation', 'testanimation.c', dependencies: libgtk_dep)
|
['testscrolledwindow'],
|
||||||
test_pixbuf_scale = executable('testpixbuf_scale', 'testpixbuf-scale.c', dependencies: libgtk_dep)
|
['testscrolledge'],
|
||||||
test_colorchooser = executable('testcolorchooser', 'testcolorchooser.c', dependencies: libgtk_dep)
|
['testcellarea'],
|
||||||
test_colorchooser2 = executable('testcolorchooser2', 'testcolorchooser2.c', dependencies: libgtk_dep)
|
['testswitch'],
|
||||||
test_kineticscrolling = executable('testkineticscrolling', 'testkineticscrolling.c', dependencies: libgtk_dep)
|
['testtoplevelembed'],
|
||||||
test_stack = executable('teststack', 'teststack.c', dependencies: libgtk_dep)
|
['testnoscreen'],
|
||||||
test_revealer = executable('testrevealer', 'testrevealer.c', dependencies: libgtk_dep)
|
['testtreepos'],
|
||||||
test_revealer2 = executable('testrevealer2', 'testrevealer2.c', dependencies: libgtk_dep)
|
['testsensitive'],
|
||||||
test_titlebar = executable('testtitlebar', 'testtitlebar.c', dependencies: libgtk_dep)
|
['testtextview'],
|
||||||
test_windowsize = executable('testwindowsize', 'testwindowsize.c', dependencies: libgtk_dep)
|
['testanimation'],
|
||||||
test_listmodel = executable('listmodel', 'listmodel.c', dependencies: libgtk_dep)
|
['testpixbuf-scale'],
|
||||||
test_popover = executable('testpopover', 'testpopover.c', dependencies: libgtk_dep)
|
['testgmenu'],
|
||||||
test_cairo = executable('testcairo', 'testcairo.c', dependencies: libgtk_dep)
|
['testlogout'],
|
||||||
test_overlayscroll = executable('overlayscroll', 'overlayscroll.c', dependencies: libgtk_dep)
|
['teststack'],
|
||||||
test_syncscroll = executable('syncscroll', 'syncscroll.c', dependencies: libgtk_dep)
|
['testrevealer'],
|
||||||
test_motion_compression = executable('motion-compression', 'motion-compression.c', dependencies: libgtk_dep)
|
['testrevealer2'],
|
||||||
test_simple = executable('simple', 'simple.c', dependencies: libgtk_dep)
|
['testtitlebar'],
|
||||||
test_flicker = executable('flicker', 'flicker.c', dependencies: libgtk_dep)
|
['testsplitheaders'],
|
||||||
test_print_editor = executable('print-editor', 'print-editor.c', dependencies: libgtk_dep)
|
['teststackedheaders'],
|
||||||
test_accel = executable('testaccel', 'testaccel.c', dependencies: libgtk_dep)
|
['testactionbar'],
|
||||||
test_adjustsize = executable('testadjustsize', 'testadjustsize.c', dependencies: libgtk_dep)
|
['testwindowsize'],
|
||||||
test_appchooserbutton = executable('testappchooserbutton', 'testappchooserbutton.c', dependencies: libgtk_dep)
|
['testpopover'],
|
||||||
test_assistant = executable('testassistant', 'testassistant.c', dependencies: libgtk_dep)
|
['gdkgears', ['gtkgears.c']],
|
||||||
test_box = executable('testbox', 'testbox.c', dependencies: libgtk_dep)
|
['listmodel'],
|
||||||
test_calendar = executable('testcalendar', 'testcalendar.c', dependencies: libgtk_dep)
|
['testpopup'],
|
||||||
test_clipboard = executable('testclipboard', 'testclipboard.c', dependencies: libgtk_dep)
|
['testpopupat'],
|
||||||
test_combo = executable('testcombo', 'testcombo.c', dependencies: libgtk_dep)
|
['testgaction'],
|
||||||
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_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)
|
|
||||||
|
|
||||||
if os_linux
|
if os_linux
|
||||||
test_fontchooserdialog = executable('testfontchooserdialog', 'testfontchooserdialog.c', dependencies: libgtk_dep)
|
gtk_tests += [['testfontchooserdialog']]
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
if x11_enabled
|
||||||
|
gtk_tests += [['testerrors']]
|
||||||
|
endif
|
||||||
|
|
||||||
|
# TODO: need to pass source dir so progs can find .ui files and such
|
||||||
|
# (with autotools this only works in the builddir == srcdir case)
|
||||||
|
foreach t : gtk_tests
|
||||||
|
test_name = t.get(0)
|
||||||
|
test_srcs = ['@0@.c'.format(test_name), t.get(1, [])]
|
||||||
|
executable(test_name, test_srcs, dependencies: [libgtk_dep, libm])
|
||||||
|
endforeach
|
||||||
|
|
||||||
subdir('visuals')
|
subdir('visuals')
|
||||||
|
@ -1,6 +1 @@
|
|||||||
|
executable('visuals', 'visuals.c', dependencies: libgtk_dep)
|
||||||
visuals = executable(
|
|
||||||
'visuals',
|
|
||||||
'visuals.c',
|
|
||||||
dependencies: libgtk_dep,
|
|
||||||
)
|
|
||||||
|
Loading…
Reference in New Issue
Block a user