forked from AuroraMiddleware/gtk
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',
|
||||
'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',
|
||||
'../gsk/gskcairoblur.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_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_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_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_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_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_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_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_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_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_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_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)
|
||||
gtk_tests = [
|
||||
# testname, optional extra sources
|
||||
['rendernode'],
|
||||
['rendernode-create-tests'],
|
||||
['overlayscroll'],
|
||||
['syncscroll'],
|
||||
['animated-resizing', ['frame-stats.c', 'variable.c']],
|
||||
['animated-revealing', ['frame-stats.c', 'variable.c']],
|
||||
['motion-compression'],
|
||||
['scrolling-performance', ['frame-stats.c', 'variable.c']],
|
||||
['blur-performance', ['../gsk/gskcairoblur.c']],
|
||||
['simple'],
|
||||
['flicker'],
|
||||
['print-editor'],
|
||||
['video-timer', ['variable.c']],
|
||||
['testaccel'],
|
||||
['testadjustsize'],
|
||||
['testappchooser'],
|
||||
['testappchooserbutton'],
|
||||
['testassistant'],
|
||||
['testbaseline'],
|
||||
['testbbox'],
|
||||
['testbox'],
|
||||
['testboxcss'],
|
||||
['testbuttons'],
|
||||
['testcairo'],
|
||||
['testcalendar'],
|
||||
['testclipboard'],
|
||||
['testcolorchooser'],
|
||||
['testcolorchooser2'],
|
||||
['testcombo'],
|
||||
['testcombochange'],
|
||||
['testcellrenderertext'],
|
||||
['testdialog'],
|
||||
['testdnd'],
|
||||
['testdnd2'],
|
||||
['testellipsise'],
|
||||
['testemblems'],
|
||||
['testentrycompletion'],
|
||||
['testentryicons'],
|
||||
['testfilechooser'],
|
||||
['testfilechooserbutton'],
|
||||
['testflowbox'],
|
||||
['testfontchooser'],
|
||||
['testfontoptions'],
|
||||
['testframe'],
|
||||
['testfullscreen'],
|
||||
['testgiconpixbuf'],
|
||||
['testglarea'],
|
||||
['testglblending', ['gtkgears.c']],
|
||||
['testgrid'],
|
||||
['testgtk'],
|
||||
['testheaderbar'],
|
||||
['testheightforwidth'],
|
||||
['testiconview'],
|
||||
['testiconview-keynav'],
|
||||
['testicontheme'],
|
||||
['testimage'],
|
||||
['testinput'],
|
||||
['testkineticscrolling'],
|
||||
['testlist'],
|
||||
['testlist2'],
|
||||
['testlist3'],
|
||||
['testlevelbar'],
|
||||
['testlockbutton'],
|
||||
['testmenubutton'],
|
||||
['testmountoperation'],
|
||||
['testmultidisplay'],
|
||||
['testnotebookdnd'],
|
||||
['testnouiprint'],
|
||||
['testorientable'],
|
||||
['testoverlay'],
|
||||
['testoverlaystyleclass'],
|
||||
['testprint', ['testprintfileoperation.c']],
|
||||
['testrecentchooser'],
|
||||
['testrecentchoosermenu'],
|
||||
['testrichtext'],
|
||||
['testscale'],
|
||||
['testselection'],
|
||||
['testselectionmode'],
|
||||
['testspinbutton'],
|
||||
['testtoolbar'],
|
||||
['testtoolbar2'],
|
||||
['stresstest-toolbar'],
|
||||
['testtreechanging'],
|
||||
['testtreednd'],
|
||||
['testtreeedit'],
|
||||
['testtreemodel'],
|
||||
['testtreeview'],
|
||||
['testtreefocus'],
|
||||
['testtreeflow'],
|
||||
['testtreecolumns'],
|
||||
['testtreecolumnsizing'],
|
||||
['testtreesort'],
|
||||
['testverticalcells'],
|
||||
['treestoretest'],
|
||||
['testxinerama'],
|
||||
['testgrouping'],
|
||||
['testtooltips'],
|
||||
['testexpand'],
|
||||
['testexpander'],
|
||||
['testvolumebutton'],
|
||||
['testscrolledwindow'],
|
||||
['testscrolledge'],
|
||||
['testcellarea'],
|
||||
['testswitch'],
|
||||
['testtoplevelembed'],
|
||||
['testnoscreen'],
|
||||
['testtreepos'],
|
||||
['testsensitive'],
|
||||
['testtextview'],
|
||||
['testanimation'],
|
||||
['testpixbuf-scale'],
|
||||
['testgmenu'],
|
||||
['testlogout'],
|
||||
['teststack'],
|
||||
['testrevealer'],
|
||||
['testrevealer2'],
|
||||
['testtitlebar'],
|
||||
['testsplitheaders'],
|
||||
['teststackedheaders'],
|
||||
['testactionbar'],
|
||||
['testwindowsize'],
|
||||
['testpopover'],
|
||||
['gdkgears', ['gtkgears.c']],
|
||||
['listmodel'],
|
||||
['testpopup'],
|
||||
['testpopupat'],
|
||||
['testgaction'],
|
||||
]
|
||||
|
||||
if os_linux
|
||||
test_fontchooserdialog = executable('testfontchooserdialog', 'testfontchooserdialog.c', dependencies: libgtk_dep)
|
||||
gtk_tests += [['testfontchooserdialog']]
|
||||
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')
|
||||
|
@ -1,6 +1 @@
|
||||
|
||||
visuals = executable(
|
||||
'visuals',
|
||||
'visuals.c',
|
||||
dependencies: libgtk_dep,
|
||||
)
|
||||
executable('visuals', 'visuals.c', dependencies: libgtk_dep)
|
||||
|
Loading…
Reference in New Issue
Block a user