2017-03-12 18:13:31 +00:00
|
|
|
gtk_tests = [
|
|
|
|
# testname, optional extra sources
|
2024-03-20 00:22:19 +00:00
|
|
|
['callbackcursor'],
|
2024-02-08 16:42:38 +00:00
|
|
|
['devicepixels'],
|
2023-05-17 20:27:06 +00:00
|
|
|
['testsections'],
|
2023-05-14 18:11:12 +00:00
|
|
|
['testfilelauncher'],
|
2021-08-18 01:55:33 +00:00
|
|
|
['input'],
|
2021-02-13 20:46:00 +00:00
|
|
|
['testpopup'],
|
2020-09-26 03:02:19 +00:00
|
|
|
['testupload'],
|
2020-09-02 16:52:35 +00:00
|
|
|
['testtransform'],
|
2019-12-09 01:22:06 +00:00
|
|
|
['testdropdown'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['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'],
|
|
|
|
['video-timer', ['variable.c']],
|
|
|
|
['testaccel'],
|
|
|
|
['testadjustsize'],
|
|
|
|
['testappchooser'],
|
|
|
|
['testappchooserbutton'],
|
|
|
|
['testassistant'],
|
|
|
|
['testbaseline'],
|
2023-04-27 15:56:12 +00:00
|
|
|
['testbaseline2'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testcalendar'],
|
|
|
|
['testcombo'],
|
2019-10-28 19:50:25 +00:00
|
|
|
['testcolumnview'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testcombochange'],
|
|
|
|
['testcellrenderertext'],
|
|
|
|
['testdialog'],
|
|
|
|
['testdnd2'],
|
2023-03-07 04:19:31 +00:00
|
|
|
['testdndresize'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testellipsise'],
|
|
|
|
['testentrycompletion'],
|
|
|
|
['testentryicons'],
|
|
|
|
['testfilechooser'],
|
|
|
|
['testflowbox'],
|
|
|
|
['testfontoptions'],
|
|
|
|
['testframe'],
|
|
|
|
['testfullscreen'],
|
|
|
|
['testglarea'],
|
|
|
|
['testglblending', ['gtkgears.c']],
|
|
|
|
['testgrid'],
|
|
|
|
['testgtk'],
|
2020-05-15 00:15:59 +00:00
|
|
|
['testheaderbar'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testheightforwidth'],
|
2020-03-04 00:24:32 +00:00
|
|
|
['testhover'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testiconview'],
|
|
|
|
['testiconview-keynav'],
|
2018-03-12 15:29:21 +00:00
|
|
|
['testinfobar'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testkineticscrolling'],
|
|
|
|
['testlist'],
|
|
|
|
['testlist2'],
|
|
|
|
['testlist3'],
|
2017-11-29 07:46:48 +00:00
|
|
|
['testlist4'],
|
2020-06-19 12:51:32 +00:00
|
|
|
['testlistdnd'],
|
2018-09-18 02:56:19 +00:00
|
|
|
['testlistview'],
|
2018-09-19 02:29:33 +00:00
|
|
|
['testlistview-animating'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testlevelbar'],
|
|
|
|
['testlockbutton'],
|
|
|
|
['testmenubutton'],
|
|
|
|
['testmountoperation'],
|
|
|
|
['testnotebookdnd'],
|
|
|
|
['testnouiprint'],
|
|
|
|
['testoverlay'],
|
|
|
|
['testoverlaystyleclass'],
|
|
|
|
['testprint', ['testprintfileoperation.c']],
|
|
|
|
['testscale'],
|
|
|
|
['testselectionmode'],
|
2020-04-29 14:54:40 +00:00
|
|
|
['testsounds'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testspinbutton'],
|
|
|
|
['testtreechanging'],
|
|
|
|
['testtreednd'],
|
|
|
|
['testtreeedit'],
|
|
|
|
['testtreemodel'],
|
|
|
|
['testtreeview'],
|
|
|
|
['testtreefocus'],
|
|
|
|
['testtreeflow'],
|
|
|
|
['testtreecolumns'],
|
|
|
|
['testtreecolumnsizing'],
|
|
|
|
['testtreesort'],
|
|
|
|
['testverticalcells'],
|
|
|
|
['treestoretest'],
|
|
|
|
['testgrouping'],
|
|
|
|
['testtooltips'],
|
|
|
|
['testexpand'],
|
|
|
|
['testvolumebutton'],
|
|
|
|
['testscrolledwindow'],
|
|
|
|
['testscrolledge'],
|
2020-04-16 21:23:48 +00:00
|
|
|
['testscrolltofocus'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testcellarea'],
|
|
|
|
['testswitch'],
|
|
|
|
['testtreepos'],
|
|
|
|
['testsensitive'],
|
2021-12-01 22:20:52 +00:00
|
|
|
['testtextscroll'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testtextview'],
|
2020-01-03 15:14:19 +00:00
|
|
|
['testtextview2'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testgmenu'],
|
|
|
|
['testlogout'],
|
|
|
|
['teststack'],
|
|
|
|
['testrevealer'],
|
|
|
|
['testrevealer2'],
|
2023-05-24 14:22:42 +00:00
|
|
|
['testsuspended'],
|
2017-03-12 18:13:31 +00:00
|
|
|
['testwindowsize'],
|
|
|
|
['testpopover'],
|
|
|
|
['listmodel'],
|
|
|
|
['testgaction'],
|
2017-06-03 13:08:44 +00:00
|
|
|
['testwidgetfocus'],
|
2018-08-11 20:19:13 +00:00
|
|
|
['testwidgettransforms'],
|
2017-06-03 13:08:44 +00:00
|
|
|
['testcenterbox'],
|
2017-11-11 05:41:41 +00:00
|
|
|
['testgridbaseline'],
|
|
|
|
['showrendernode'],
|
2017-12-06 18:22:24 +00:00
|
|
|
['testborderdrawing'],
|
2017-12-21 16:57:16 +00:00
|
|
|
['testoutsetshadowdrawing'],
|
2018-03-20 08:19:10 +00:00
|
|
|
['testblur'],
|
|
|
|
['testtexture'],
|
2019-03-24 14:52:42 +00:00
|
|
|
['testwindowdrag'],
|
2020-03-20 14:17:41 +00:00
|
|
|
['testinhibitshortcuts'],
|
2022-06-29 04:46:21 +00:00
|
|
|
['testzoom'],
|
2023-01-06 04:03:27 +00:00
|
|
|
['testdatatable', ['frame-stats.c', 'variable.c']],
|
|
|
|
['testfiledialog'],
|
2017-03-12 18:13:31 +00:00
|
|
|
]
|
2016-09-24 09:31:00 +00:00
|
|
|
|
2018-04-22 12:47:32 +00:00
|
|
|
if os_unix
|
2023-10-14 00:26:19 +00:00
|
|
|
gtk_tests += [
|
|
|
|
['testfontchooserdialog'],
|
2024-02-02 20:59:13 +00:00
|
|
|
]
|
|
|
|
endif
|
|
|
|
|
|
|
|
if os_linux
|
|
|
|
gtk_tests += [
|
2024-02-10 01:53:52 +00:00
|
|
|
['testdmabuf', ['testdmabuf.c', 'gtkclipper.c']],
|
2023-10-14 00:26:19 +00:00
|
|
|
]
|
2016-09-24 09:31:00 +00:00
|
|
|
endif
|
2016-09-24 09:07:34 +00:00
|
|
|
|
2017-03-12 18:13:31 +00:00
|
|
|
if x11_enabled
|
|
|
|
gtk_tests += [['testerrors']]
|
|
|
|
endif
|
|
|
|
|
2017-03-12 18:36:21 +00:00
|
|
|
# Pass the source dir here so programs can change into the source directory
|
|
|
|
# and find .ui files and .png files and such that they load at runtime
|
|
|
|
test_args = ['-DGTK_SRCDIR="@0@"'.format(meson.current_source_dir())]
|
|
|
|
|
2017-04-26 16:04:20 +00:00
|
|
|
foreach t: gtk_tests
|
2017-03-12 18:13:31 +00:00
|
|
|
test_name = t.get(0)
|
|
|
|
test_srcs = ['@0@.c'.format(test_name), t.get(1, [])]
|
2020-12-15 12:31:38 +00:00
|
|
|
executable(test_name,
|
|
|
|
sources: test_srcs,
|
|
|
|
include_directories: [confinc, gdkinc],
|
|
|
|
c_args: test_args + common_cflags,
|
|
|
|
dependencies: [libgtk_dep, libm],
|
|
|
|
)
|
2017-03-12 18:13:31 +00:00
|
|
|
endforeach
|