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