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