]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
GtkFontChooser: Expose the new widget in gtk.h and add test cases
[~andy/gtk] / tests / Makefile.am
1 ## Makefile.am for gtk+/tests
2 include $(top_srcdir)/Makefile.decl
3
4 SUBDIRS = css reftests a11y
5
6 INCLUDES =                              \
7         -I$(top_srcdir)                 \
8         -I$(top_builddir)/gdk           \
9         -I$(top_srcdir)/gdk             \
10         -DGDK_DISABLE_DEPRECATED        \
11         -DGTK_DISABLE_DEPRECATED        \
12         $(GTK_DEBUG_FLAGS)              \
13         $(GTK_DEP_CFLAGS)               \
14         $(GDK_DEP_CFLAGS)
15
16 DEPS = \
17         $(top_builddir)/gtk/libgtk-3.la
18
19 LDADDS = \
20         $(top_builddir)/gtk/libgtk-3.la \
21         $(top_builddir)/gdk/libgdk-3.la \
22         $(GTK_DEP_LIBS)                 \
23         -lm
24
25 if USE_X11
26 testsocket_programs = testsocket testsocket_child
27 endif
28
29 noinst_PROGRAMS =  $(TEST_PROGS)        \
30         simple                          \
31         flicker                         \
32         print-editor                    \
33         testaccel                       \
34         testadjustsize                  \
35         testappchooser                  \
36         testappchooserbutton            \
37         testassistant                   \
38         testbbox                        \
39         testboxcss                      \
40         testbuttons                     \
41         testcairo                       \
42         testcalendar                    \
43         testclipboard                   \
44         testcombo                       \
45         testcombochange                 \
46         testcellrenderertext            \
47         testdnd                         \
48         testellipsise                   \
49         testentrycompletion             \
50         testentryicons                  \
51         testfilechooser                 \
52         testfilechooserbutton           \
53         testfontselection               \
54         testfontselectiondialog         \
55         testfontchooser                 \
56         testfontchooserdialog           \
57         testframe                       \
58         testgeometry                    \
59         testgiconpixbuf                 \
60         testgrid                        \
61         testgtk                         \
62         testheightforwidth              \
63         testiconview                    \
64         testiconview-keynav             \
65         testicontheme                   \
66         testimage                       \
67         testinput                       \
68         testlockbutton                  \
69         testmenubars                    \
70         testmountoperation              \
71         testmultidisplay                \
72         testmultiscreen                 \
73         testnotebookdnd                 \
74         testnumerableicon               \
75         testnouiprint                   \
76         testoffscreen                   \
77         testoffscreenwindow             \
78         testorientable                  \
79         testoverlay                     \
80         testprint                       \
81         testrecentchooser               \
82         testrecentchoosermenu           \
83         testrichtext                    \
84         testscale                       \
85         testselection                   \
86         $(testsocket_programs)          \
87         testspinbutton                  \
88         teststatusicon                  \
89         testtoolbar                     \
90         stresstest-toolbar              \
91         testtreeedit                    \
92         testtreemodel                   \
93         testtreeview                    \
94         testtreefocus                   \
95         testtreeflow                    \
96         testtreecolumns                 \
97         testtreecolumnsizing            \
98         testtreesort                    \
99         testverticalcells               \
100         treestoretest                   \
101         testxinerama                    \
102         testwindows                     \
103         testmerge                       \
104         testactions                     \
105         testgrouping                    \
106         testtooltips                    \
107         testexpand                      \
108         testexpander                    \
109         testvolumebutton                \
110         testscrolledwindow              \
111         testswitch                      \
112         testcellarea                    \
113         testswitch                      \
114         styleexamples                   \
115         testtreemenu                    \
116         testtoplevelembed               \
117         testnoscreen                    \
118         testtreepos                     \
119         testsensitive                   \
120         testtextview                    \
121         testanimation                   \
122         testpixbuf-save                 \
123         testpixbuf-color                \
124         testpixbuf-scale                \
125         widget-factory
126
127 if USE_X11
128 noinst_PROGRAMS += testerrors
129 endif
130
131 if HAVE_CXX
132 noinst_PROGRAMS += autotestkeywords
133 TESTS = autotestkeywords
134
135 autotestkeywords_SOURCES = autotestkeywords.cc
136 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
137
138 if HAVE_OBJC
139 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
140 endif
141
142 endif
143
144 flicker_DEPENDENCIES = $(TEST_DEPS)
145 simple_DEPENDENCIES = $(TEST_DEPS)
146 print_editor_DEPENDENCIES = $(TEST_DEPS)
147 testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
148 testicontheme_DEPENDENCIES = $(TEST_DEPS)
149 testiconview_DEPENDENCIES = $(TEST_DEPS)
150 testaccel_DEPENDENCIES = $(TEST_DEPS)
151 testadjustsize_DEPENDENCIES = $(TEST_DEPS)
152 testassistant_DEPENDENCIES = $(TEST_DEPS)
153 testbbox_DEPENDENCIES = $(TEST_DEPS)
154 testbuttons_DEPENDENCIES = $(TEST_DEPS)
155 testcairo_DEPENDENCIES = $(TEST_DEPS)
156 testcalendar_DEPENDENCIES = $(TEST_DEPS)
157 testclipboard_DEPENDENCIES = $(TEST_DEPS)
158 testcombo_DEPENDENCIES = $(TEST_DEPS)
159 testcombochange_DEPENDENCIES = $(TEST_DEPS)
160 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
161 testdnd_DEPENDENCIES = $(TEST_DEPS)
162 testellipsise_DEPENDENCIES = $(TEST_DEPS)
163 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
164 testentryicons_DEPENDENCIES = $(TEST_DEPS)
165 testerrors_DEPENDENCIES = $(TEST_DEPS)
166 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
167 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
168 testfontselection_DEPENDENCIES = $(TEST_DEPS)
169 testfontselectiondialog_DEPENDENCIES = $(TEST_DEPS)
170 testfontchooser_DEPENDENCIES = $(TEST_DEPS)
171 testfontchooserdialog_DEPENDENCIES = $(TEST_DEPS)
172 testframe_DEPENDENCIES = $(TEST_DEPS)
173 testgeometry_DEPENDENCIES = $(TEST_DEPS)
174 testgiconpixbuf = $(TEST_DEPS)
175 testgrid_DEPENDENCIES = $(TEST_DEPS)
176 testgtk_DEPENDENCIES = $(TEST_DEPS)
177 testinput_DEPENDENCIES = $(TEST_DEPS)
178 testimage_DEPENDENCIES = $(TEST_DEPS)
179 testlockbutton_DEPENDENCIES = $(TEST_DEPS)
180 testmenubars_DEPENDENCIES = $(TEST_DEPS)
181 testmountoperation_DEPENDENCIES = $(TEST_DEPS)
182 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
183 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
184 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
185 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
186 testnumerableicon_DEPENDENCIES = $(TEST_DEPS)
187 testoffscreen_DEPENDENCIES = $(TEST_DEPS)
188 testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
189 testappchooser_DEPENDENCIES = $(TEST_DEPS)
190 testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
191 testorientable_DEPENDENCIES = $(TEST_DEPS)
192 testoverlay_DEPENDENCIES = $(TEST_DEPS)
193 testprint_DEPENDENCIES = $(TEST_DEPS)
194 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
195 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
196 testrichtext_DEPENDENCIES = $(TEST_DEPS)
197 testscale_DEPENDENCIES = $(TEST_DEPS)
198 testselection_DEPENDENCIES = $(TEST_DEPS)
199 testsocket_DEPENDENCIES = $(DEPS)
200 testsocket_child_DEPENDENCIES = $(DEPS)
201 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
202 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
203 testtreeedit_DEPENDENCIES = $(DEPS)
204 testtreemodel_DEPENDENCIES = $(DEPS)
205 testtreeview_DEPENDENCIES = $(DEPS)
206 testtreefocus_DEPENDENCIES = $(DEPS)
207 testtreeflow_DEPENDENCIES = $(DEPS)
208 testtreecolumns_DEPENDENCIES = $(DEPS)
209 testtreecolumnsizing_DEPENDENCIES = $(DEPS)
210 testtreesort_DEPENDENCIES = $(DEPS)
211 testverticalcells_DEPENDENCIES = $(DEPS)
212 treestoretest_DEPENDENCIES = $(TEST_DEPS)
213 testxinerama_DEPENDENCIES = $(TEST_DEPS)
214 testmerge_DEPENDENCIES = $(TEST_DEPS)
215 testactions_DEPENDENCIES = $(TEST_DEPS)
216 testgrouping_DEPENDENCIES = $(TEST_DEPS)
217 testtooltips_DEPENDENCIES = $(TEST_DEPS)
218 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
219 testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
220 testcellarea_DEPENDENCIES = $(TEST_DEPS)
221 testtreemenu_DEPENDENCIES = $(TEST_DEPS)
222 testwindows_DEPENDENCIES = $(TEST_DEPS)
223 testexpand_DEPENDENCIES = $(TEST_DEPS)
224 testexpander_DEPENDENCIES = $(TEST_DEPS)
225 testswitch_DEPENDENCIES = $(TEST_DEPS)
226 styleexamples_DEPENDENCIES = $(TEST_DEPS)
227 testtoplevelembed_DEPENDENCIES = $(TEST_DEPS)
228 testnoscreen_DEPENDENCIES = $(TEST_DEPS)
229 testtreepos_DEPENDENCIES = $(TEST_DEPS)
230 testsensitive_DEPENDENCIES = $(TEST_DEPS)
231 testtextview_DEPENDENCIES = $(TEST_DEPS)
232 testanimation_DEPENDENCIES = $(TEST_DEPS)
233 testpixbuf_save_DEPENDENCIES = $(TEST_DEPS)
234 testpixbuf_color_DEPENDENCIES = $(TEST_DEPS)
235 testpixbuf_scale_DEPENDENCIES = $(TEST_DEPS)
236 widget_factory_DEPENDENCIES = $(TEST_DEPS)
237
238 flicker_LDADD = $(LDADDS)
239 simple_LDADD = $(LDADDS)
240 print_editor_LDADD = $(LDADDS)
241 testaccel_LDADD = $(LDADDS)
242 testadjustsize_LDADD = $(LDADDS)
243 testassistant_LDADD = $(LDADDS)
244 testbbox_LDADD = $(LDADDS)
245 testboxcss_LDADD = $(LDADDS)
246 testbuttons_LDADD = $(LDADDS)
247 testcairo_LDADD = $(LDADDS)
248 testcalendar_LDADD = $(LDADDS)
249 testclipboard_LDADD = $(LDADDS)
250 testcombo_LDADD = $(LDADDS)
251 testcombochange_LDADD = $(LDADDS)
252 testcellrenderertext_LDADD = $(LDADDS)
253 testdnd_LDADD = $(LDADDS)
254 testellipsise_LDADD = $(LDADDS)
255 testentrycompletion_LDADD = $(LDADDS)
256 testentryicons_LDADD = $(LDADDS)
257 testerrors_LDADD = $(LDADDS)
258 testfilechooser_LDADD = $(LDADDS)
259 testfilechooserbutton_LDADD = $(LDADDS)
260 testfontselection_LDADD = $(LDADDS)
261 testfontselectiondialog_LDADD = $(LDADDS)
262 testfontchooser_LDADD = $(LDADDS)
263 testfontchooserdialog_LDADD = $(LDADDS)
264 testframe_LDADD = $(LDADDS)
265 testgeometry_LDADD = $(LDADDS)
266 testgiconpixbuf_LDADD = $(LDADDS)
267 testgrid_LDADD = $(LDADDS)
268 testgtk_LDADD = $(LDADDS)
269 testheightforwidth_LDADD = $(LDADDS)
270 testicontheme_LDADD = $(LDADDS)
271 testiconview_LDADD = $(LDADDS)
272 testiconview_keynav_LDADD = $(LDADDS)
273 testinput_LDADD = $(LDADDS)
274 testimage_LDADD = $(LDADDS)
275 testlockbutton_LDADD = $(LDADDS)
276 testmenubars_LDADD = $(LDADDS)
277 testmountoperation_LDADD = $(LDADDS)
278 testmultidisplay_LDADD = $(LDADDS)
279 testmultiscreen_LDADD = $(LDADDS)
280 testnotebookdnd_LDADD = $(LDADDS)
281 testnouiprint_LDADD = $(LDADDS)
282 testnumerableicon_LDADD = $(LDADDS)
283 testoffscreen_LDADD = $(LDADDS)
284 testoffscreenwindow_LDADD = $(LDADDS)
285 testappchooser_LDADD = $(LDADDS)
286 testappchooserbutton_LDADD = $(LDADDS)
287 testorientable_LDADD = $(LDADDS)
288 testoverlay_LDADD = $(LDADDS)
289 testprint_LDADD = $(LDADDS)
290 testrecentchooser_LDADD = $(LDADDS)
291 testrecentchoosermenu_LDADD = $(LDADDS)
292 testrichtext_LDADD = $(LDADDS)
293 testscale_LDADD = $(LDADDS)
294 testselection_LDADD = $(LDADDS)
295 testsocket_LDADD = $(LDADDS)
296 testsocket_child_LDADD = $(LDADDS)
297 testspinbutton_LDADD = $(LDADDS)
298 teststatusicon_LDADD = $(LDADDS)
299 testtoolbar_LDADD = $(LDADDS)
300 stresstest_toolbar_LDADD = $(LDADDS)
301 testtreeedit_LDADD = $(LDADDS)
302 testtreemodel_LDADD = $(LDADDS)
303 testtreeview_LDADD = $(LDADDS)
304 testtreefocus_LDADD = $(LDADDS)
305 testtreeflow_LDADD = $(LDADDS)
306 testtreecolumns_LDADD = $(LDADDS)
307 testtreecolumnsizing_LDADD = $(LDADDS)
308 testtreesort_LDADD = $(LDADDS)
309 testverticalcells_LDADD = $(LDADDS)
310 treestoretest_LDADD = $(LDADDS)
311 testxinerama_LDADD = $(LDADDS)
312 testmerge_LDADD = $(LDADDS)
313 testactions_LDADD = $(LDADDS)
314 testgrouping_LDADD = $(LDADDS)
315 testtooltips_LDADD = $(LDADDS)
316 testvolumebutton_LDADD = $(LDADDS)
317 testscrolledwindow_LDADD = $(LDADDS)
318 testcellarea_LDADD = $(LDADDS)
319 testtreemenu_LDADD = $(LDADDS)
320 testwindows_LDADD = $(LDADDS)
321 testexpand_LDADD = $(LDADDS)
322 testexpander_LDADD = $(LDADDS)
323 testswitch_LDADD = $(LDADDS)
324 styleexamples_LDADD = $(LDADDS)
325 testtoplevelembed_LDADD = $(LDADDS)
326 testnoscreen_LDADD = $(LDADDS)
327 testtreepos_LDADD = $(LDADDS)
328 testsensitive_LDADD = $(LDADDS)
329 testtextview_LDADD = $(LDADDS)
330 testanimation_LDADD = $(LDADDS)
331 testpixbuf_save_LDADD = $(LDADDS)
332 testpixbuf_color_LDADD = $(LDADDS)
333 testpixbuf_scale_LDADD = $(LDADDS)
334 widget_factory_LDADD = $(LDADDS)
335
336
337 testboxcss_SOURCES =    \
338         testboxcss.c    \
339         prop-editor.c
340
341 testentrycompletion_SOURCES =   \
342         prop-editor.c           \
343         testentrycompletion.c
344
345 testentryicons_SOURCES =        \
346         prop-editor.c           \
347         testentryicons.c
348
349 testfilechooser_SOURCES =       \
350         prop-editor.c           \
351         testfilechooser.c
352
353 testfilechooserbutton_SOURCES = \
354         prop-editor.c           \
355         testfilechooserbutton.c
356
357 testfontselection_SOURCES = \
358         testfontselection.c
359
360 testfontselectiondialog_SOURCES = \
361         testfontselectiondialog.c
362
363 testfontchooser_SOURCES = \
364         testfontchooser.c
365
366 testfontchooserdialog_SOURCES = \
367         testfontchooserdialog.c
368
369 testgrid_SOURCES =      \
370         testgrid.c
371
372 testgtk_SOURCES =       \
373         prop-editor.c   \
374         testgtk.c
375
376 testtreeedit_SOURCES =  \
377         testtreeedit.c
378
379 testtreemodel_SOURCES = \
380         testtreemodel.c
381
382 testtreeview_SOURCES =  \
383         prop-editor.c   \
384         testtreeview.c
385
386 testtoolbar_SOURCES =   \
387         testtoolbar.c   \
388         prop-editor.c
389
390 testprint_SOURCES =     \
391         testprint.c             \
392         testprintfileoperation.h \
393         testprintfileoperation.c
394
395 testsocket_SOURCES =            \
396         testsocket.c            \
397         testsocket_common.c
398
399 testsocket_child_SOURCES =      \
400         testsocket_child.c      \
401         testsocket_common.c
402
403 testspinbutton_SOURCES =        \
404         testspinbutton.c
405
406 teststatusicon_SOURCES =        \
407         prop-editor.c           \
408         teststatusicon.c
409
410 testmerge_SOURCES =             \
411         testmerge.c
412
413 testactions_SOURCES =           \
414         testactions.c
415
416 testbbox_SOURCES =              \
417         testbbox.c
418
419 testbuttons_SOURCES =           \
420         testbuttons.c
421
422 testframe_SOURCES =             \
423         testframe.c
424
425 testgeometry_SOURCES =          \
426         testgeometry.c
427
428 testgiconpixbuf_SOURCES =       \
429         testgiconpixbuf.c
430
431 testiconview_SOURCES =          \
432         testiconview.c          \
433         prop-editor.c
434
435 testiconview_keynav_SOURCES =   \
436         testiconview-keynav.c
437
438 testnumerableicon_SOURCES =     \
439         testnumerableicon.c     \
440         prop-editor.c
441
442 testrecentchooser_SOURCES =     \
443         prop-editor.c           \
444         testrecentchooser.c
445
446 testgrouping_SOURCES =          \
447         testgrouping.c
448
449 testtooltips_SOURCES =          \
450         testtooltips.c
451
452 testrecentchoosermenu_SOURCES = \
453         testrecentchoosermenu.c
454
455 testvolumebutton_SOURCES =      \
456         testvolumebutton.c
457
458 testscrolledwindow_SOURCES =    \
459         testscrolledwindow.c
460
461 testcellarea_SOURCES =          \
462         testcellarea.c          \
463         cellareascaffold.c      \
464         cellareascaffold.h
465
466 testtreemenu_SOURCES =          \
467         testtreemenu.c
468
469 testoffscreen_SOURCES =         \
470         gtkoffscreenbox.c       \
471         gtkoffscreenbox.h       \
472         testoffscreen.c
473
474 testoffscreenwindow_SOURCES =   \
475         testoffscreenwindow.c
476
477 testoverlay_SOURCES =   \
478         testoverlay.c
479
480 testappchooser_SOURCES = \
481         testappchooser.c
482
483 testappchooserbutton_SOURCES = \
484         testappchooserbutton.c
485
486 testwindows_SOURCES =   \
487         testwindows.c
488
489 testexpand_SOURCES = testexpand.c
490
491 testexpander_SOURCES = testexpander.c
492
493 testswitch_SOURCES = testswitch.c
494
495 styleexamples_SOURCES = styleexamples.c
496
497 testtoplevelembed_SOURCES = testtoplevelembed.c
498
499 testtextview_SOURCES = testtextview.c
500
501 testanimation_SOURCES = testanimation.c
502
503 testpixbuf_scale_SOURCES = testpixbuf-scale.c
504
505 testpixbuf_color_SOURCES = testpixbuf-color.c
506
507 testpixbuf_save_SOURCES = testpixbuf-save.c
508
509 widget_factory_SOURCES = widget-factory.c
510
511
512 EXTRA_DIST +=                   \
513         gradient1.png           \
514         prop-editor.h           \
515         testgtk.1               \
516         testgtk.css             \
517         testgtk2.css            \
518         3DRings.xpm             \
519         FilesQueue.xpm          \
520         Modeller.xpm            \
521         check-y.xpm             \
522         check-n.xpm             \
523         marble.xpm              \
524         test.xpm                \
525         check-y.xpm             \
526         check-n.xpm             \
527         test.xpm                \
528         merge-1.ui              \
529         merge-2.ui              \
530         merge-3.ui              \
531         gnome-textfile.png      \
532         makefile.msc            \
533         widget-factory.ui
534
535
536 -include $(top_srcdir)/git.mk