Makefile.am 12.2 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
	$(GTK_DEP_CFLAGS)		\
12 13
	$(GDK_DEP_CFLAGS)		\
	-pthread
14

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

18
LDADD = \
19 20 21
	$(top_builddir)/gtk/libgtk-3.la	\
	$(top_builddir)/gdk/libgdk-3.la	\
	$(GTK_DEP_LIBS)			\
22
	$(GDK_DEP_LIBS)			\
23
	-lgmodule-2.0			\
24
	-lm
25

26 27 28
AM_LDFLAGS = -Wl,--export-dynamic -pthread


29 30 31 32
if USE_X11
testsocket_programs = testsocket testsocket_child
endif

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

169
if USE_X11
170
noinst_PROGRAMS += testerrors
171 172
endif

173
if HAVE_CXX
174 175 176

AM_CXXFLAGS = $(AM_CPPFLAGS)

177
noinst_PROGRAMS += autotestkeywords
178
TESTS = autotestkeywords
179

180
autotestkeywords_SOURCES = autotestkeywords.cc
181 182 183
autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers

if HAVE_OBJC
184
autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
185 186 187
endif

endif
188

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

304 305
animated_resizing_SOURCES = 	\
	animated-resizing.c	\
306 307
	frame-stats.c		\
	frame-stats.h		\
308 309 310
	variable.c		\
	variable.h

311 312 313 314 315 316 317
animated_revealing_SOURCES = 	\
	animated-revealing.c	\
	frame-stats.c		\
	frame-stats.h		\
	variable.c		\
	variable.h

318 319 320 321 322 323 324
scrolling_performance_SOURCES = \
	scrolling-performance.c	\
	frame-stats.c		\
	frame-stats.h		\
	variable.c		\
	variable.h

325 326 327 328 329
video_timer_SOURCES = 	\
	video-timer.c	\
	variable.c	\
	variable.h

330
testboxcss_SOURCES =	\
331
	testboxcss.c
332

Matthias Clasen's avatar
Matthias Clasen committed
333 334 335
testentrycompletion_SOURCES = 	\
	testentrycompletion.c

336 337 338
testentryicons_SOURCES =	\
	testentryicons.c

339
testfilechooser_SOURCES = 	\
340
	testfilechooser.c
341

342
testfilechooserbutton_SOURCES =	\
343
	testfilechooserbutton.c
344

Matthias Clasen's avatar
Matthias Clasen committed
345 346 347
testflowbox_SOURCES = \
	testflowbox.c

348 349 350
testfontselection_SOURCES = \
	testfontselection.c

351 352 353
testfontselectiondialog_SOURCES = \
	testfontselectiondialog.c

354 355 356 357 358 359
testfontchooser_SOURCES = \
	testfontchooser.c

testfontchooserdialog_SOURCES = \
	testfontchooserdialog.c

Matthias Clasen's avatar
Matthias Clasen committed
360 361 362
testgrid_SOURCES =	\
	testgrid.c

363
testgtk_SOURCES =	\
364
	testgtk.c
365

366 367 368
testtreechanging_SOURCES =	\
	testtreechanging.c

369 370 371
testtreeedit_SOURCES = 	\
	testtreeedit.c

Soeren Sandmann's avatar
Soeren Sandmann committed
372 373 374
testtreemodel_SOURCES = \
	testtreemodel.c

375
testtreeview_SOURCES =	\
376
	testtreeview.c
377

378
testtoolbar_SOURCES =	\
379
	testtoolbar.c
380

381
testmenubutton_SOURCES =	\
382
	testmenubutton.c
383

384 385
testprint_SOURCES =    	\
	testprint.c		\
Matthias Clasen's avatar
Matthias Clasen committed
386
	testprintfileoperation.h \
387 388
	testprintfileoperation.c

389 390 391 392 393 394 395 396
testsocket_SOURCES =    	\
	testsocket.c		\
	testsocket_common.c

testsocket_child_SOURCES =    	\
	testsocket_child.c	\
	testsocket_common.c

397 398 399
testspinbutton_SOURCES =    	\
	testspinbutton.c

400 401 402
teststatusicon_SOURCES =    	\
	teststatusicon.c

403 404 405 406 407 408
testmerge_SOURCES = 		\
	testmerge.c

testactions_SOURCES = 		\
	testactions.c

409 410 411
testbaseline_SOURCES = 		\
	testbaseline.c

412 413 414
testbbox_SOURCES = 		\
	testbbox.c

415 416 417
testbuttons_SOURCES = 		\
	testbuttons.c

418 419 420
testframe_SOURCES = 		\
	testframe.c

421 422 423
testgeometry_SOURCES = 		\
	testgeometry.c

424 425 426
testgiconpixbuf_SOURCES =	\
	testgiconpixbuf.c

427
testiconview_SOURCES = 		\
428
	testiconview.c
429

Matthias Clasen's avatar
Matthias Clasen committed
430
testiconview_keynav_SOURCES = 	\
431 432
	testiconview-keynav.c

Matthias Clasen's avatar
Matthias Clasen committed
433
testnumerableicon_SOURCES =	\
434
	testnumerableicon.c
Matthias Clasen's avatar
Matthias Clasen committed
435

436 437 438
testrecentchooser_SOURCES = 	\
	testrecentchooser.c

Kristian Rietveld's avatar
Kristian Rietveld committed
439 440 441
testgrouping_SOURCES =		\
	testgrouping.c

442
testtooltips_SOURCES =		\
Kristian Rietveld's avatar
Kristian Rietveld committed
443 444
	testtooltips.c

445 446 447
testrecentchoosermenu_SOURCES =	\
	testrecentchoosermenu.c

448 449 450
testvolumebutton_SOURCES =	\
	testvolumebutton.c

451 452 453
testscrolledwindow_SOURCES =	\
	testscrolledwindow.c

454
testcellarea_SOURCES =		\
455
	testcellarea.c
456

457 458 459
testtreemenu_SOURCES =		\
	testtreemenu.c

460 461 462 463 464
testoffscreen_SOURCES = 	\
	gtkoffscreenbox.c	\
	gtkoffscreenbox.h	\
	testoffscreen.c

Javier Jardón's avatar
Javier Jardón committed
465
testoffscreenwindow_SOURCES =	\
466 467
	testoffscreenwindow.c

468 469 470
testoverlay_SOURCES =	\
	testoverlay.c

471 472 473
testoverlaystyleclass_SOURCES =	\
	testoverlaystyleclass.c

474 475
testappchooser_SOURCES = \
	testappchooser.c
476

477 478
testappchooserbutton_SOURCES = \
	testappchooserbutton.c
479

Javier Jardón's avatar
Javier Jardón committed
480
testwindows_SOURCES = 	\
481 482
	testwindows.c

483 484
testexpand_SOURCES = testexpand.c

485 486
testexpander_SOURCES = testexpander.c

487
testswitch_SOURCES = testswitch.c
488

489
styleexamples_SOURCES = styleexamples.c
490

491 492
testtoplevelembed_SOURCES = testtoplevelembed.c

493 494
testtextview_SOURCES = testtextview.c

Matthias Clasen's avatar
Matthias Clasen committed
495 496 497 498 499 500 501 502
testanimation_SOURCES = testanimation.c

testpixbuf_scale_SOURCES = testpixbuf-scale.c

testpixbuf_color_SOURCES = testpixbuf-color.c

testpixbuf_save_SOURCES = testpixbuf-save.c

503
testcolorchooser_SOURCES = testcolorchooser.c
504

505 506
testkineticscrolling_SOURCES = testkineticscrolling.c

Matthias Clasen's avatar
Matthias Clasen committed
507 508
teststack_SOURCES = teststack.c

Matthias Clasen's avatar
Matthias Clasen committed
509 510
testrevealer_SOURCES = testrevealer.c

Matthias Clasen's avatar
Matthias Clasen committed
511
testtitlebar_SOURCES = testtitlebar.c
512

513 514
testwindowsize_SOURCES = testwindowsize.c

Alexander Larsson's avatar
Alexander Larsson committed
515 516 517 518 519
gdkgears_SOURCES =	\
	gdkgears.c	\
	gtkgears.c	\
	gtkgears.h

520 521 522 523 524
testglblending_SOURCES =	\
	testglblending.c	\
	gtkgears.c	\
	gtkgears.h

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

551 552 553 554
CLEANFILES = 			\
	autotestkeywords.log	\
	autotestkeywords.trs	\
	test-suite.log
555 556

-include $(top_srcdir)/git.mk