Makefile.am 11.1 KB
Newer Older
1
## Makefile.am for gtk+/tests
2
include $(top_srcdir)/Makefile.decl
3

4
SUBDIRS = visuals
Benjamin Otte's avatar
Benjamin Otte committed
5

6
AM_CPPFLAGS =				\
7 8 9 10
	-I$(top_srcdir)			\
	-I$(top_builddir)/gdk		\
	-I$(top_srcdir)/gdk		\
	$(GTK_DEBUG_FLAGS)		\
Matthias Clasen's avatar
Matthias Clasen committed
11 12
	$(GTK_DEP_CFLAGS)		\
	$(GDK_DEP_CFLAGS)
13

14
DEPS = \
15
	$(top_builddir)/gtk/libgtk-3.la
16

17
LDADD = \
18 19 20
	$(top_builddir)/gtk/libgtk-3.la	\
	$(top_builddir)/gdk/libgdk-3.la	\
	$(GTK_DEP_LIBS)			\
21
	-lm
22

23 24 25 26
if USE_X11
testsocket_programs = testsocket testsocket_child
endif

27
noinst_PROGRAMS =  $(TEST_PROGS)	\
28
	animated-resizing		\
29
	motion-compression		\
30
	scrolling-performance		\
31
	simple				\
32
	flicker				\
33
	print-editor			\
34
	video-timer			\
35
	testaccel			\
36
	testadjustsize			\
37 38
	testappchooser			\
	testappchooserbutton		\
Matthias Clasen's avatar
Matthias Clasen committed
39
	testassistant			\
40
	testbaseline			\
41
	testbbox			\
42
	testboxcss                      \
43
	testbuttons			\
44
	testcairo			\
45
	testcalendar			\
46
	testclipboard			\
47
	testcolorchooser		\
48
	testcombo			\
49
	testcombochange			\
50
	testcellrenderertext		\
51
	testdnd				\
52
	testellipsise			\
53
	testentrycompletion 		\
54
	testentryicons			\
55
	testfilechooser			\
56
	testfilechooserbutton		\
57 58 59 60
	testfontselection		\
	testfontselectiondialog		\
	testfontchooser			\
	testfontchooserdialog 		\
61
	testframe			\
62
	testfullscreen			\
63
	testgeometry			\
64
	testgiconpixbuf			\
Matthias Clasen's avatar
Matthias Clasen committed
65
	testgrid			\
66
	testgtk				\
Matthias Clasen's avatar
Matthias Clasen committed
67
	testheaderbar			\
68
	testheightforwidth		\
69
	testiconview			\
70
	testiconview-keynav		\
71
	testicontheme			\
Matthias Clasen's avatar
Matthias Clasen committed
72
	testimage			\
73
	testinput			\
74
	testkineticscrolling		\
75
	testlockbutton			\
76
	testmenubars			\
77
	testmenubutton			\
Matthias Clasen's avatar
Matthias Clasen committed
78
	testmountoperation		\
79
	testmultidisplay		\
Matthias Clasen's avatar
Matthias Clasen committed
80
	testnotebookdnd			\
Matthias Clasen's avatar
Matthias Clasen committed
81
	testnumerableicon		\
Alexander Larsson's avatar
Alexander Larsson committed
82
	testnouiprint			\
83
	testoffscreen			\
84
	testoffscreenwindow		\
85
	testorientable			\
86
	testoverlay			\
87
	testoverlaystyleclass		\
88
	testprint			\
89
	testrecentchooser 		\
90
	testrecentchoosermenu		\
91
	testrichtext			\
92
	testscale			\
93 94
	testselection			\
	$(testsocket_programs)		\
95
	testspinbutton			\
96
	teststatusicon			\
97
	testtoolbar			\
98
	stresstest-toolbar		\
99
	testtreechanging                \
100
	testtreeedit			\
Soeren Sandmann's avatar
Soeren Sandmann committed
101
	testtreemodel			\
102 103 104 105
	testtreeview			\
	testtreefocus			\
	testtreeflow			\
	testtreecolumns			\
Kristian Rietveld's avatar
Kristian Rietveld committed
106
	testtreecolumnsizing		\
107
	testtreesort			\
Matthias Clasen's avatar
Matthias Clasen committed
108
	testverticalcells		\
109 110
	treestoretest			\
	testxinerama			\
111
	testwindows			\
112
	testmerge			\
Kristian Rietveld's avatar
Kristian Rietveld committed
113
	testactions			\
Kristian Rietveld's avatar
Kristian Rietveld committed
114
	testgrouping			\
115
	testtooltips			\
116
	testexpand			\
117
	testexpander			\
118
	testvolumebutton		\
119
	testscrolledwindow		\
120
	testswitch			\
121
	testcellarea			\
122
	testswitch			\
123
	styleexamples			\
124
	testtreemenu			\
125
	testtoplevelembed		\
126
	testnoscreen			\
127
	testtreepos			\
128
	testsensitive			\
Matthias Clasen's avatar
Matthias Clasen committed
129 130 131 132
	testtextview			\
	testanimation			\
	testpixbuf-save			\
	testpixbuf-color		\
133
	testpixbuf-scale		\
134
	testgmenu			\
Matthias Clasen's avatar
Matthias Clasen committed
135
	testlogout			\
Matthias Clasen's avatar
Matthias Clasen committed
136 137
	teststack			\
	testrevealer
138

139
if USE_X11
140
noinst_PROGRAMS += testerrors
141 142
endif

143
if HAVE_CXX
144 145 146

AM_CXXFLAGS = $(AM_CPPFLAGS)

147
noinst_PROGRAMS += autotestkeywords
148
TESTS = autotestkeywords
149

150
autotestkeywords_SOURCES = autotestkeywords.cc
151 152 153
autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers

if HAVE_OBJC
154
autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
155 156 157
endif

endif
158

159
animated_resizing_DEPENDENCIES = $(TEST_DEPS)
160
flicker_DEPENDENCIES = $(TEST_DEPS)
161
motion_compression_DEPENDENCIES = $(TEST_DEPS)
162
scrolling_performance_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
163
simple_DEPENDENCIES = $(TEST_DEPS)
164
print_editor_DEPENDENCIES = $(TEST_DEPS)
165
video_timer_DEPENDENCIES = $(TEST_DEPS)
166
testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
167
testicontheme_DEPENDENCIES = $(TEST_DEPS)
168
testiconview_DEPENDENCIES = $(TEST_DEPS)
169
testaccel_DEPENDENCIES = $(TEST_DEPS)
170
testadjustsize_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
171
testassistant_DEPENDENCIES = $(TEST_DEPS)
172
testbaseline_DEPENDENCIES = $(TEST_DEPS)
173
testbbox_DEPENDENCIES = $(TEST_DEPS)
174
testbuttons_DEPENDENCIES = $(TEST_DEPS)
175
testcairo_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
176
testcalendar_DEPENDENCIES = $(TEST_DEPS)
177
testclipboard_DEPENDENCIES = $(TEST_DEPS)
178
testcolorchooser_DEPENDENCIES = $(TEST_DEPS)
179
testcombo_DEPENDENCIES = $(TEST_DEPS)
180
testcombochange_DEPENDENCIES = $(TEST_DEPS)
181
testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
182
testdnd_DEPENDENCIES = $(TEST_DEPS)
183
testellipsise_DEPENDENCIES = $(TEST_DEPS)
184
testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
185
testentryicons_DEPENDENCIES = $(TEST_DEPS)
186
testerrors_DEPENDENCIES = $(TEST_DEPS)
187
testfilechooser_DEPENDENCIES = $(TEST_DEPS)
188
testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
189
testfontselection_DEPENDENCIES = $(TEST_DEPS)
190
testfontselectiondialog_DEPENDENCIES = $(TEST_DEPS)
191 192
testfontchooser_DEPENDENCIES = $(TEST_DEPS)
testfontchooserdialog_DEPENDENCIES = $(TEST_DEPS)
193
testframe_DEPENDENCIES = $(TEST_DEPS)
194
testgeometry_DEPENDENCIES = $(TEST_DEPS)
195
testgiconpixbuf = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
196
testgrid_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
197
testgtk_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
198
testheaderbar_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
199
testinput_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
200
testimage_DEPENDENCIES = $(TEST_DEPS)
201
testkineticscrolling_DEPENDENCIES = $(TEST_DEPS)
202
testlockbutton_DEPENDENCIES = $(TEST_DEPS)
203
testmenubars_DEPENDENCIES = $(TEST_DEPS)
204
testmenubutton_DEPENDENCIES = $(TEST_DEPS)
205
testmountoperation_DEPENDENCIES = $(TEST_DEPS)
206
testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
207
testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
Alexander Larsson's avatar
Alexander Larsson committed
208
testnouiprint_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
209
testnumerableicon_DEPENDENCIES = $(TEST_DEPS)
210
testoffscreen_DEPENDENCIES = $(TEST_DEPS)
211
testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
212
testappchooser_DEPENDENCIES = $(TEST_DEPS)
213
testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
214
testorientable_DEPENDENCIES = $(TEST_DEPS)
215
testoverlay_DEPENDENCIES = $(TEST_DEPS)
216
testoverlaystyleclass_DEPENDENCIES = $(TEST_DEPS)
217
testprint_DEPENDENCIES = $(TEST_DEPS)
218
testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
219
testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
220
testrichtext_DEPENDENCIES = $(TEST_DEPS)
221
testscale_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
222
testselection_DEPENDENCIES = $(TEST_DEPS)
223 224
testsocket_DEPENDENCIES = $(DEPS)
testsocket_child_DEPENDENCIES = $(DEPS)
225
testspinbutton_DEPENDENCIES = $(TEST_DEPS)
226
teststatusicon_DEPENDENCIES = $(TEST_DEPS)
227
testtreechanging_DEPENDENCIES =	$(DEPS)
Kristian Rietveld's avatar
Kristian Rietveld committed
228
testtreeedit_DEPENDENCIES = $(DEPS)
Soeren Sandmann's avatar
Soeren Sandmann committed
229
testtreemodel_DEPENDENCIES = $(DEPS)
230
testtreeview_DEPENDENCIES = $(DEPS)
231
testtreefocus_DEPENDENCIES = $(DEPS)
232
testtreeflow_DEPENDENCIES = $(DEPS)
233
testtreecolumns_DEPENDENCIES = $(DEPS)
Kristian Rietveld's avatar
Kristian Rietveld committed
234
testtreecolumnsizing_DEPENDENCIES = $(DEPS)
235
testtreesort_DEPENDENCIES = $(DEPS)
236
testverticalcells_DEPENDENCIES = $(DEPS)
Owen Taylor's avatar
Owen Taylor committed
237
treestoretest_DEPENDENCIES = $(TEST_DEPS)
238
testxinerama_DEPENDENCIES = $(TEST_DEPS)
239 240
testmerge_DEPENDENCIES = $(TEST_DEPS)
testactions_DEPENDENCIES = $(TEST_DEPS)
Kristian Rietveld's avatar
Kristian Rietveld committed
241
testgrouping_DEPENDENCIES = $(TEST_DEPS)
Kristian Rietveld's avatar
Kristian Rietveld committed
242
testtooltips_DEPENDENCIES = $(TEST_DEPS)
243
testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
244
testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
245
testcellarea_DEPENDENCIES = $(TEST_DEPS)
246
testtreemenu_DEPENDENCIES = $(TEST_DEPS)
247
testwindows_DEPENDENCIES = $(TEST_DEPS)
248
testexpand_DEPENDENCIES = $(TEST_DEPS)
249
testexpander_DEPENDENCIES = $(TEST_DEPS)
250
testswitch_DEPENDENCIES = $(TEST_DEPS)
251
styleexamples_DEPENDENCIES = $(TEST_DEPS)
252
testtoplevelembed_DEPENDENCIES = $(TEST_DEPS)
253
testnoscreen_DEPENDENCIES = $(TEST_DEPS)
254
testtreepos_DEPENDENCIES = $(TEST_DEPS)
255
testsensitive_DEPENDENCIES = $(TEST_DEPS)
256
testtextview_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
257 258 259 260
testanimation_DEPENDENCIES = $(TEST_DEPS)
testpixbuf_save_DEPENDENCIES = $(TEST_DEPS)
testpixbuf_color_DEPENDENCIES = $(TEST_DEPS)
testpixbuf_scale_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
261
testgmenu_DEPENDENCIES = $(TEST_DEPS)
262
testlogout_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
263
teststack_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
264
testrevealer_DEPENDENCIES = $(TEST_DEPS)
265

266 267
animated_resizing_SOURCES = 	\
	animated-resizing.c	\
268 269
	frame-stats.c		\
	frame-stats.h		\
270 271 272
	variable.c		\
	variable.h

273 274 275 276 277 278 279
scrolling_performance_SOURCES = \
	scrolling-performance.c	\
	frame-stats.c		\
	frame-stats.h		\
	variable.c		\
	variable.h

280 281 282 283 284
video_timer_SOURCES = 	\
	video-timer.c	\
	variable.c	\
	variable.h

285 286 287 288
testboxcss_SOURCES =	\
	testboxcss.c	\
	prop-editor.c

Matthias Clasen's avatar
Matthias Clasen committed
289 290 291 292
testentrycompletion_SOURCES = 	\
	prop-editor.c		\
	testentrycompletion.c

293
testentryicons_SOURCES =	\
294
	prop-editor.c		\
295 296
	testentryicons.c

297 298
testfilechooser_SOURCES = 	\
	prop-editor.c		\
299
	testfilechooser.c
300

301 302
testfilechooserbutton_SOURCES =	\
	prop-editor.c		\
303
	testfilechooserbutton.c
304

305 306 307
testfontselection_SOURCES = \
	testfontselection.c

308 309 310
testfontselectiondialog_SOURCES = \
	testfontselectiondialog.c

311
testfontchooser_SOURCES = \
312
	prop-editor.c		\
313 314 315
	testfontchooser.c

testfontchooserdialog_SOURCES = \
316
	prop-editor.c		\
317 318
	testfontchooserdialog.c

Matthias Clasen's avatar
Matthias Clasen committed
319 320 321
testgrid_SOURCES =	\
	testgrid.c

322
testgtk_SOURCES =	\
323
	prop-editor.c   \
324
	testgtk.c
325

326 327 328 329
testtreechanging_SOURCES =	\
	prop-editor.c		\
	testtreechanging.c

330 331 332
testtreeedit_SOURCES = 	\
	testtreeedit.c

Soeren Sandmann's avatar
Soeren Sandmann committed
333 334 335
testtreemodel_SOURCES = \
	testtreemodel.c

336 337
testtreeview_SOURCES =	\
	prop-editor.c	\
338
	testtreeview.c
339

340 341 342 343
testtoolbar_SOURCES =	\
	testtoolbar.c	\
	prop-editor.c

344 345 346 347
testmenubutton_SOURCES =	\
	testmenubutton.c	\
	prop-editor.c

348 349
testprint_SOURCES =    	\
	testprint.c		\
Matthias Clasen's avatar
Matthias Clasen committed
350
	testprintfileoperation.h \
351 352
	testprintfileoperation.c

353 354 355 356 357 358 359 360
testsocket_SOURCES =    	\
	testsocket.c		\
	testsocket_common.c

testsocket_child_SOURCES =    	\
	testsocket_child.c	\
	testsocket_common.c

361 362 363
testspinbutton_SOURCES =    	\
	testspinbutton.c

364
teststatusicon_SOURCES =    	\
365
	prop-editor.c		\
366 367
	teststatusicon.c

368 369 370 371 372 373
testmerge_SOURCES = 		\
	testmerge.c

testactions_SOURCES = 		\
	testactions.c

374 375 376
testbaseline_SOURCES = 		\
	testbaseline.c

377 378 379
testbbox_SOURCES = 		\
	testbbox.c

380 381 382
testbuttons_SOURCES = 		\
	testbuttons.c

383 384 385
testframe_SOURCES = 		\
	testframe.c

386 387 388
testgeometry_SOURCES = 		\
	testgeometry.c

389 390 391
testgiconpixbuf_SOURCES =	\
	testgiconpixbuf.c

392 393 394 395
testiconview_SOURCES = 		\
	testiconview.c		\
	prop-editor.c

Matthias Clasen's avatar
Matthias Clasen committed
396
testiconview_keynav_SOURCES = 	\
397 398
	testiconview-keynav.c

Matthias Clasen's avatar
Matthias Clasen committed
399 400 401 402
testnumerableicon_SOURCES =	\
	testnumerableicon.c	\
	prop-editor.c

403 404 405 406
testrecentchooser_SOURCES = 	\
	prop-editor.c 		\
	testrecentchooser.c

Kristian Rietveld's avatar
Kristian Rietveld committed
407 408 409
testgrouping_SOURCES =		\
	testgrouping.c

410
testtooltips_SOURCES =		\
Kristian Rietveld's avatar
Kristian Rietveld committed
411 412
	testtooltips.c

413 414 415
testrecentchoosermenu_SOURCES =	\
	testrecentchoosermenu.c

416 417 418
testvolumebutton_SOURCES =	\
	testvolumebutton.c

419 420 421
testscrolledwindow_SOURCES =	\
	testscrolledwindow.c

422
testcellarea_SOURCES =		\
423
	testcellarea.c
424

425 426 427
testtreemenu_SOURCES =		\
	testtreemenu.c

428 429 430 431 432
testoffscreen_SOURCES = 	\
	gtkoffscreenbox.c	\
	gtkoffscreenbox.h	\
	testoffscreen.c

Javier Jardón's avatar
Javier Jardón committed
433
testoffscreenwindow_SOURCES =	\
434 435
	testoffscreenwindow.c

436 437 438
testoverlay_SOURCES =	\
	testoverlay.c

439 440 441
testoverlaystyleclass_SOURCES =	\
	testoverlaystyleclass.c

442 443
testappchooser_SOURCES = \
	testappchooser.c
444

445 446
testappchooserbutton_SOURCES = \
	testappchooserbutton.c
447

Javier Jardón's avatar
Javier Jardón committed
448
testwindows_SOURCES = 	\
449 450
	testwindows.c

451 452
testexpand_SOURCES = testexpand.c

453 454
testexpander_SOURCES = testexpander.c

455
testswitch_SOURCES = testswitch.c
456

457
styleexamples_SOURCES = styleexamples.c
458

459 460
testtoplevelembed_SOURCES = testtoplevelembed.c

461 462
testtextview_SOURCES = testtextview.c

Matthias Clasen's avatar
Matthias Clasen committed
463 464 465 466 467 468 469 470
testanimation_SOURCES = testanimation.c

testpixbuf_scale_SOURCES = testpixbuf-scale.c

testpixbuf_color_SOURCES = testpixbuf-color.c

testpixbuf_save_SOURCES = testpixbuf-save.c

471
testcolorchooser_SOURCES = testcolorchooser.c
472

473 474
testkineticscrolling_SOURCES = testkineticscrolling.c

Matthias Clasen's avatar
Matthias Clasen committed
475 476
teststack_SOURCES = teststack.c

Matthias Clasen's avatar
Matthias Clasen committed
477 478
testrevealer_SOURCES = testrevealer.c

479
EXTRA_DIST += 			\
480
	gradient1.png		\
481
	prop-editor.h		\
Owen Taylor's avatar
Owen Taylor committed
482
	testgtk.1 		\
483 484
	testgtk.css		\
	testgtk2.css		\
Owen Taylor's avatar
Owen Taylor committed
485 486 487 488 489 490 491 492 493
	3DRings.xpm		\
	FilesQueue.xpm		\
	Modeller.xpm		\
	check-y.xpm		\
	check-n.xpm		\
	marble.xpm		\
	test.xpm		\
	check-y.xpm		\
	check-n.xpm		\
494 495 496
	test.xpm		\
	merge-1.ui		\
	merge-2.ui		\
497
	merge-3.ui		\
498
	gnome-textfile.png	\
499
	makefile.msc
500

501 502

-include $(top_srcdir)/git.mk