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