Makefile.am 12.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
	$(GDK_DEP_LIBS)			\
22
	-lm
23

24 25 26 27
if USE_X11
testsocket_programs = testsocket testsocket_child
endif

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

163
if USE_X11
164
noinst_PROGRAMS += testerrors
165 166
endif

167
if HAVE_CXX
168 169 170

AM_CXXFLAGS = $(AM_CPPFLAGS)

171
noinst_PROGRAMS += autotestkeywords
172
TESTS = autotestkeywords
173

174
autotestkeywords_SOURCES = autotestkeywords.cc
175 176 177
autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers

if HAVE_OBJC
178
autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
179 180 181
endif

endif
182

183
animated_resizing_DEPENDENCIES = $(TEST_DEPS)
184
animated_revealing_DEPENDENCIES = $(TEST_DEPS)
185
flicker_DEPENDENCIES = $(TEST_DEPS)
186
motion_compression_DEPENDENCIES = $(TEST_DEPS)
187
scrolling_performance_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
188
simple_DEPENDENCIES = $(TEST_DEPS)
189
print_editor_DEPENDENCIES = $(TEST_DEPS)
190
video_timer_DEPENDENCIES = $(TEST_DEPS)
191
testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
192
testicontheme_DEPENDENCIES = $(TEST_DEPS)
193
testiconview_DEPENDENCIES = $(TEST_DEPS)
194
testaccel_DEPENDENCIES = $(TEST_DEPS)
195
testadjustsize_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
196
testassistant_DEPENDENCIES = $(TEST_DEPS)
197
testbaseline_DEPENDENCIES = $(TEST_DEPS)
198
testbbox_DEPENDENCIES = $(TEST_DEPS)
199
testbuttons_DEPENDENCIES = $(TEST_DEPS)
200
testcairo_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
201
testcalendar_DEPENDENCIES = $(TEST_DEPS)
202
testclipboard_DEPENDENCIES = $(TEST_DEPS)
203
testcolorchooser_DEPENDENCIES = $(TEST_DEPS)
204
testcombo_DEPENDENCIES = $(TEST_DEPS)
205
testcombochange_DEPENDENCIES = $(TEST_DEPS)
206
testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
207
testdnd_DEPENDENCIES = $(TEST_DEPS)
208
testellipsise_DEPENDENCIES = $(TEST_DEPS)
209
testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
210
testentryicons_DEPENDENCIES = $(TEST_DEPS)
211
testerrors_DEPENDENCIES = $(TEST_DEPS)
212
testfilechooser_DEPENDENCIES = $(TEST_DEPS)
213
testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
214
testflowbox_DEPENDENCIES = $(TEST_DEPS)
215
testfontselection_DEPENDENCIES = $(TEST_DEPS)
216
testfontselectiondialog_DEPENDENCIES = $(TEST_DEPS)
217 218
testfontchooser_DEPENDENCIES = $(TEST_DEPS)
testfontchooserdialog_DEPENDENCIES = $(TEST_DEPS)
219
testframe_DEPENDENCIES = $(TEST_DEPS)
220
testgeometry_DEPENDENCIES = $(TEST_DEPS)
221
testgiconpixbuf = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
222
testgrid_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
223
testgtk_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
224
testheaderbar_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
225
testinput_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
226
testimage_DEPENDENCIES = $(TEST_DEPS)
227
testkineticscrolling_DEPENDENCIES = $(TEST_DEPS)
228
testlist_DEPENDENCIES = $(TEST_DEPS)
229
testlist2_DEPENDENCIES = $(TEST_DEPS)
230
testlevelbar_DEPENDENCIES = $(TEST_DEPS)
231
testlockbutton_DEPENDENCIES = $(TEST_DEPS)
232
testmenubutton_DEPENDENCIES = $(TEST_DEPS)
233
testmountoperation_DEPENDENCIES = $(TEST_DEPS)
234
testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
235
testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
Alexander Larsson's avatar
Alexander Larsson committed
236
testnouiprint_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
237
testnumerableicon_DEPENDENCIES = $(TEST_DEPS)
238
testoffscreen_DEPENDENCIES = $(TEST_DEPS)
239
testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
240
testappchooser_DEPENDENCIES = $(TEST_DEPS)
241
testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
242
testorientable_DEPENDENCIES = $(TEST_DEPS)
243
testoverlay_DEPENDENCIES = $(TEST_DEPS)
244
testoverlaystyleclass_DEPENDENCIES = $(TEST_DEPS)
245
testprint_DEPENDENCIES = $(TEST_DEPS)
246
testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
247
testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
248
testrichtext_DEPENDENCIES = $(TEST_DEPS)
249
testscale_DEPENDENCIES = $(TEST_DEPS)
Owen Taylor's avatar
Owen Taylor committed
250
testselection_DEPENDENCIES = $(TEST_DEPS)
251 252
testsocket_DEPENDENCIES = $(DEPS)
testsocket_child_DEPENDENCIES = $(DEPS)
253
testspinbutton_DEPENDENCIES = $(TEST_DEPS)
254
teststatusicon_DEPENDENCIES = $(TEST_DEPS)
255
teststockbuttonmenu_DEPENDENCIES = $(TEST_DEPS)
256
testtreechanging_DEPENDENCIES =	$(DEPS)
Kristian Rietveld's avatar
Kristian Rietveld committed
257
testtreeedit_DEPENDENCIES = $(DEPS)
Soeren Sandmann's avatar
Soeren Sandmann committed
258
testtreemodel_DEPENDENCIES = $(DEPS)
259
testtreeview_DEPENDENCIES = $(DEPS)
260
testtreefocus_DEPENDENCIES = $(DEPS)
261
testtreeflow_DEPENDENCIES = $(DEPS)
262
testtreecolumns_DEPENDENCIES = $(DEPS)
Kristian Rietveld's avatar
Kristian Rietveld committed
263
testtreecolumnsizing_DEPENDENCIES = $(DEPS)
264
testtreesort_DEPENDENCIES = $(DEPS)
265
testverticalcells_DEPENDENCIES = $(DEPS)
Owen Taylor's avatar
Owen Taylor committed
266
treestoretest_DEPENDENCIES = $(TEST_DEPS)
267
testxinerama_DEPENDENCIES = $(TEST_DEPS)
268 269
testmerge_DEPENDENCIES = $(TEST_DEPS)
testactions_DEPENDENCIES = $(TEST_DEPS)
Kristian Rietveld's avatar
Kristian Rietveld committed
270
testgrouping_DEPENDENCIES = $(TEST_DEPS)
Kristian Rietveld's avatar
Kristian Rietveld committed
271
testtooltips_DEPENDENCIES = $(TEST_DEPS)
272
testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
273
testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
274
testscrolledge_DEPENDENCIES = $(TEST_DEPS)
275
testcellarea_DEPENDENCIES = $(TEST_DEPS)
276
testtreemenu_DEPENDENCIES = $(TEST_DEPS)
277
testwindows_DEPENDENCIES = $(TEST_DEPS)
278
testexpand_DEPENDENCIES = $(TEST_DEPS)
279
testexpander_DEPENDENCIES = $(TEST_DEPS)
280
testswitch_DEPENDENCIES = $(TEST_DEPS)
281
styleexamples_DEPENDENCIES = $(TEST_DEPS)
282
testtoplevelembed_DEPENDENCIES = $(TEST_DEPS)
283
testnoscreen_DEPENDENCIES = $(TEST_DEPS)
284
testtreepos_DEPENDENCIES = $(TEST_DEPS)
285
testsensitive_DEPENDENCIES = $(TEST_DEPS)
286
testtextview_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
287 288 289 290
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
291
testgmenu_DEPENDENCIES = $(TEST_DEPS)
292
testlogout_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
293
teststack_DEPENDENCIES = $(TEST_DEPS)
Matthias Clasen's avatar
Matthias Clasen committed
294
testrevealer_DEPENDENCIES = $(TEST_DEPS)
295
testtitlebar_DEPENDENCIES = $(TEST_DEPS)
296
testwindowsize_DEPENDENCIES = $(TEST_DEPS)
297

298 299
animated_resizing_SOURCES = 	\
	animated-resizing.c	\
300 301
	frame-stats.c		\
	frame-stats.h		\
302 303 304
	variable.c		\
	variable.h

305 306 307 308 309 310 311
animated_revealing_SOURCES = 	\
	animated-revealing.c	\
	frame-stats.c		\
	frame-stats.h		\
	variable.c		\
	variable.h

312 313 314 315 316 317 318
scrolling_performance_SOURCES = \
	scrolling-performance.c	\
	frame-stats.c		\
	frame-stats.h		\
	variable.c		\
	variable.h

319 320 321 322 323
video_timer_SOURCES = 	\
	video-timer.c	\
	variable.c	\
	variable.h

324
testboxcss_SOURCES =	\
325
	testboxcss.c
326

Matthias Clasen's avatar
Matthias Clasen committed
327 328 329
testentrycompletion_SOURCES = 	\
	testentrycompletion.c

330 331 332
testentryicons_SOURCES =	\
	testentryicons.c

333
testfilechooser_SOURCES = 	\
334
	testfilechooser.c
335

336
testfilechooserbutton_SOURCES =	\
337
	testfilechooserbutton.c
338

Matthias Clasen's avatar
Matthias Clasen committed
339 340 341
testflowbox_SOURCES = \
	testflowbox.c

342 343 344
testfontselection_SOURCES = \
	testfontselection.c

345 346 347
testfontselectiondialog_SOURCES = \
	testfontselectiondialog.c

348 349 350 351 352 353
testfontchooser_SOURCES = \
	testfontchooser.c

testfontchooserdialog_SOURCES = \
	testfontchooserdialog.c

Matthias Clasen's avatar
Matthias Clasen committed
354 355 356
testgrid_SOURCES =	\
	testgrid.c

357
testgtk_SOURCES =	\
358
	testgtk.c
359

360 361 362
testtreechanging_SOURCES =	\
	testtreechanging.c

363 364 365
testtreeedit_SOURCES = 	\
	testtreeedit.c

Soeren Sandmann's avatar
Soeren Sandmann committed
366 367 368
testtreemodel_SOURCES = \
	testtreemodel.c

369
testtreeview_SOURCES =	\
370
	testtreeview.c
371

372
testtoolbar_SOURCES =	\
373
	testtoolbar.c
374

375
testmenubutton_SOURCES =	\
376
	testmenubutton.c
377

378 379
testprint_SOURCES =    	\
	testprint.c		\
Matthias Clasen's avatar
Matthias Clasen committed
380
	testprintfileoperation.h \
381 382
	testprintfileoperation.c

383 384 385 386 387 388 389 390
testsocket_SOURCES =    	\
	testsocket.c		\
	testsocket_common.c

testsocket_child_SOURCES =    	\
	testsocket_child.c	\
	testsocket_common.c

391 392 393
testspinbutton_SOURCES =    	\
	testspinbutton.c

394 395 396
teststatusicon_SOURCES =    	\
	teststatusicon.c

397 398 399 400 401 402
testmerge_SOURCES = 		\
	testmerge.c

testactions_SOURCES = 		\
	testactions.c

403 404 405
testbaseline_SOURCES = 		\
	testbaseline.c

406 407 408
testbbox_SOURCES = 		\
	testbbox.c

409 410 411
testbuttons_SOURCES = 		\
	testbuttons.c

412 413 414
testframe_SOURCES = 		\
	testframe.c

415 416 417
testgeometry_SOURCES = 		\
	testgeometry.c

418 419 420
testgiconpixbuf_SOURCES =	\
	testgiconpixbuf.c

421
testiconview_SOURCES = 		\
422
	testiconview.c
423

Matthias Clasen's avatar
Matthias Clasen committed
424
testiconview_keynav_SOURCES = 	\
425 426
	testiconview-keynav.c

Matthias Clasen's avatar
Matthias Clasen committed
427
testnumerableicon_SOURCES =	\
428
	testnumerableicon.c
Matthias Clasen's avatar
Matthias Clasen committed
429

430 431 432
testrecentchooser_SOURCES = 	\
	testrecentchooser.c

Kristian Rietveld's avatar
Kristian Rietveld committed
433 434 435
testgrouping_SOURCES =		\
	testgrouping.c

436
testtooltips_SOURCES =		\
Kristian Rietveld's avatar
Kristian Rietveld committed
437 438
	testtooltips.c

439 440 441
testrecentchoosermenu_SOURCES =	\
	testrecentchoosermenu.c

442 443 444
testvolumebutton_SOURCES =	\
	testvolumebutton.c

445 446 447
testscrolledwindow_SOURCES =	\
	testscrolledwindow.c

448
testcellarea_SOURCES =		\
449
	testcellarea.c
450

451 452 453
testtreemenu_SOURCES =		\
	testtreemenu.c

454 455 456 457 458
testoffscreen_SOURCES = 	\
	gtkoffscreenbox.c	\
	gtkoffscreenbox.h	\
	testoffscreen.c

Javier Jardón's avatar
Javier Jardón committed
459
testoffscreenwindow_SOURCES =	\
460 461
	testoffscreenwindow.c

462 463 464
testoverlay_SOURCES =	\
	testoverlay.c

465 466 467
testoverlaystyleclass_SOURCES =	\
	testoverlaystyleclass.c

468 469
testappchooser_SOURCES = \
	testappchooser.c
470

471 472
testappchooserbutton_SOURCES = \
	testappchooserbutton.c
473

Javier Jardón's avatar
Javier Jardón committed
474
testwindows_SOURCES = 	\
475 476
	testwindows.c

477 478
testexpand_SOURCES = testexpand.c

479 480
testexpander_SOURCES = testexpander.c

481
testswitch_SOURCES = testswitch.c
482

483
styleexamples_SOURCES = styleexamples.c
484

485 486
testtoplevelembed_SOURCES = testtoplevelembed.c

487 488
testtextview_SOURCES = testtextview.c

Matthias Clasen's avatar
Matthias Clasen committed
489 490 491 492 493 494 495 496
testanimation_SOURCES = testanimation.c

testpixbuf_scale_SOURCES = testpixbuf-scale.c

testpixbuf_color_SOURCES = testpixbuf-color.c

testpixbuf_save_SOURCES = testpixbuf-save.c

497
testcolorchooser_SOURCES = testcolorchooser.c
498

499 500
testkineticscrolling_SOURCES = testkineticscrolling.c

Matthias Clasen's avatar
Matthias Clasen committed
501 502
teststack_SOURCES = teststack.c

Matthias Clasen's avatar
Matthias Clasen committed
503 504
testrevealer_SOURCES = testrevealer.c

Matthias Clasen's avatar
Matthias Clasen committed
505
testtitlebar_SOURCES = testtitlebar.c
506

507 508
testwindowsize_SOURCES = testwindowsize.c

Alexander Larsson's avatar
Alexander Larsson committed
509 510 511 512 513
gdkgears_SOURCES =	\
	gdkgears.c	\
	gtkgears.c	\
	gtkgears.h

514 515 516 517 518
testglblending_SOURCES =	\
	testglblending.c	\
	gtkgears.c	\
	gtkgears.h

519
EXTRA_DIST += 			\
520
	gradient1.png		\
Owen Taylor's avatar
Owen Taylor committed
521
	testgtk.1 		\
522 523
	testgtk.css		\
	testgtk2.css		\
Owen Taylor's avatar
Owen Taylor committed
524 525 526 527 528 529 530 531 532
	3DRings.xpm		\
	FilesQueue.xpm		\
	Modeller.xpm		\
	check-y.xpm		\
	check-n.xpm		\
	marble.xpm		\
	test.xpm		\
	check-y.xpm		\
	check-n.xpm		\
533 534 535
	test.xpm		\
	merge-1.ui		\
	merge-2.ui		\
536
	merge-3.ui		\
537
	gnome-textfile.png	\
538
	testsplitheaders.ui	\
539 540 541
	makefile.msc		\
	mydialog.ui		\
	mydialog2.ui		\
542 543
	popover.ui		\
	selectionmode.ui
544

545 546 547 548
CLEANFILES = 			\
	autotestkeywords.log	\
	autotestkeywords.trs	\
	test-suite.log
549 550

-include $(top_srcdir)/git.mk