]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
Rename textbuffer test and port it to the new test framework
[~andy/gtk] / tests / Makefile.am
1 ## Makefile.am for gtk+/tests
2 include $(top_srcdir)/Makefile.decl
3
4 INCLUDES =                                      \
5         -I$(top_srcdir)                         \
6         -I$(top_builddir)/gdk                   \
7         -I$(top_srcdir)/gdk                     \
8         -DGDK_PIXBUF_DISABLE_DEPRECATED         \
9         -DGDK_DISABLE_DEPRECATED                \
10         -DGTK_DISABLE_DEPRECATED                \
11         $(GTK_DEBUG_FLAGS)                      \
12         $(GTK_DEP_CFLAGS)
13
14 DEPS =                                                                  \
15         $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
16         $(top_builddir)/gdk/$(gdktargetlib)                             \
17         $(top_builddir)/gtk/$(gtktargetlib)
18
19 LDADDS =                                                                \
20         $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
21         $(top_builddir)/gdk/$(gdktargetlib)                             \
22         $(top_builddir)/gtk/$(gtktargetlib)
23
24 if USE_X11
25 testsocket_programs = testsocket testsocket_child
26 endif
27
28 TEST_PROGS                      += floatingtest
29 floatingtest_DEPENDENCIES        = $(TEST_DEPS)
30 floatingtest_LDADD               = $(LDADDS)
31 TEST_PROGS                      += objecttests
32 objecttests_SOURCES              = objecttests.c
33 objecttests_LDADD                = $(LDADDS)
34 objecttests_DEPENDENCIES         = $(TEST_DEPS)
35 TEST_PROGS                      += autotestfilechooser
36 autotestfilechooser_DEPENDENCIES = $(TEST_DEPS)
37 autotestfilechooser_LDADD        = $(LDADDS)
38 autotestfilechooser_SOURCES      = autotestfilechooser.c
39 TEST_PROGS                      += buildertest
40 buildertest_DEPENDENCIES         = $(TEST_DEPS)
41 buildertest_LDADD                = $(LDADDS)
42 buildertest_LDFLAGS              = -export-dynamic
43 if OS_UNIX
44 TEST_PROGS                      += defaultvaluetest
45 endif
46 defaultvaluetest_DEPENDENCIES    = $(TEST_DEPS)
47 defaultvaluetest_LDADD           = $(LDADDS)
48 TEST_PROGS                      += textbuffertest
49 textbuffertest_DEPENDENCIES      = $(TEST_DEPS)
50 textbuffertest_LDADD             = $(LDADDS)
51 textbuffertest_SOURCES           = textbuffertest.c
52
53 noinst_PROGRAMS =  $(TEST_PROGS)        \
54         autotestkeywords                \
55         simple                          \
56         print-editor                    \
57         testaccel                       \
58         testassistant                   \
59         testbbox                        \
60         testcairo                       \
61         testcalendar                    \
62         testcombo                       \
63         testcombochange                 \
64         testcellrenderertext            \
65         testdnd                         \
66         testellipsise                   \
67         testentrycompletion             \
68         testfilechooser                 \
69         testfilechooserbutton           \
70         testframe                       \
71         testgtk                         \
72         testiconview                    \
73         testicontheme                   \
74         testimage                       \
75         testinput                       \
76         testmenus                       \
77         testmenubars                    \
78         testmultidisplay                \
79         testmultiscreen                 \
80         testnotebookdnd                 \
81         testnouiprint                   \
82         testprint                       \
83         testrgb                         \
84         testrecentchooser               \
85         testrecentchoosermenu           \
86         testrichtext                    \
87         testselection                   \
88         $(testsocket_programs)          \
89         testspinbutton                  \
90         teststatusicon                  \
91         testtext                        \
92         testtoolbar                     \
93         stresstest-toolbar              \
94         testtreeedit                    \
95         testtreemodel                   \
96         testtreeview                    \
97         testtreefocus                   \
98         testtreeflow                    \
99         testtreecolumns                 \
100         testtreesort                    \
101         treestoretest                   \
102         testxinerama                    \
103         pixbuf-read                     \
104         pixbuf-lowmem                   \
105         pixbuf-randomly-modified        \
106         pixbuf-random                   \
107         pixbuf-threads                  \
108         testmerge                       \
109         testactions                     \
110         testgrouping                    \
111         testtooltips                    \
112         testvolumebutton
113
114 if HAVE_CXX
115 noinst_PROGRAMS += autotestkeywords
116 TESTS = autotestkeywords
117
118 autotestkeywords_SOURCES = autotestkeywords.cc
119 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
120
121 if HAVE_OBJC
122 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1
123 autotestkeywords_CXXFLAGS = -x objective-c++
124 endif
125
126 endif
127
128 simple_DEPENDENCIES = $(TEST_DEPS)
129 print_editor_DEPENDENCIES = $(TEST_DEPS)
130 testicontheme_DEPENDENCIES = $(TEST_DEPS)
131 testiconview_DEPENDENCIES = $(TEST_DEPS)
132 testaccel_DEPENDENCIES = $(TEST_DEPS)
133 testassistant_DEPENDENCIES = $(TEST_DEPS)
134 testbbox_DEPENDENCIES = $(TEST_DEPS)
135 testframe_DEPENDENCIES = $(TEST_DEPS)
136 testcairo_DEPENDENCIES = $(TEST_DEPS)
137 testcalendar_DEPENDENCIES = $(TEST_DEPS)
138 testcombo_DEPENDENCIES = $(TEST_DEPS)
139 testcombochange_DEPENDENCIES = $(TEST_DEPS)
140 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
141 testdnd_DEPENDENCIES = $(TEST_DEPS)
142 testellipsise_DEPENDENCIES = $(TEST_DEPS)
143 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
144 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
145 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
146 testgtk_DEPENDENCIES = $(TEST_DEPS)
147 testinput_DEPENDENCIES = $(TEST_DEPS)
148 testimage_DEPENDENCIES = $(TEST_DEPS)
149 testmenus_DEPENDENCIES = $(TEST_DEPS)
150 testmenubars_DEPENDENCIES = $(TEST_DEPS)
151 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
152 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
153 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
154 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
155 testprint_DEPENDENCIES = $(TEST_DEPS)
156 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
157 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
158 testrgb_DEPENDENCIES = $(TEST_DEPS)
159 testrichtext_DEPENDENCIES = $(TEST_DEPS)
160 testselection_DEPENDENCIES = $(TEST_DEPS)
161 testsocket_DEPENDENCIES = $(DEPS)
162 testsocket_child_DEPENDENCIES = $(DEPS)
163 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
164 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
165 testtext_DEPENDENCIES = $(TEST_DEPS)
166 testtreeedit_DEPENDENCIES = $(DEPS)
167 testtreemodel_DEPENDENCIES = $(DEPS)
168 testtreeview_DEPENDENCIES = $(DEPS)
169 testtreefocus_DEPENDENCIES = $(DEPS)
170 testtreeflow_DEPENDENCIES = $(DEPS)
171 testtreecolumns_DEPENDENCIES = $(DEPS)
172 testtreesort_DEPENDENCIES = $(DEPS)
173 treestoretest_DEPENDENCIES = $(TEST_DEPS)
174 testxinerama_DEPENDENCIES = $(TEST_DEPS)
175 testmerge_DEPENDENCIES = $(TEST_DEPS)
176 testactions_DEPENDENCIES = $(TEST_DEPS)
177 testgrouping_DEPENDENCIES = $(TEST_DEPS)
178 testtooltips_DEPENDENCIES = $(TEST_DEPS)
179 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
180
181 simple_LDADD = $(LDADDS)
182 print_editor_LDADD = $(LDADDS)
183 testaccel_LDADD = $(LDADDS)
184 testassistant_LDADD = $(LDADDS)
185 testbbox_LDADD = $(LDADDS)
186 testframe_LDADD = $(LDADDS)
187 testcairo_LDADD = $(LDADDS)
188 testcalendar_LDADD = $(LDADDS)
189 testcombo_LDADD = $(LDADDS)
190 testcombochange_LDADD = $(LDADDS)
191 testcellrenderertext_LDADD = $(LDADDS)
192 testdnd_LDADD = $(LDADDS)
193 testellipsise_LDADD = $(LDADDS)
194 testentrycompletion_LDADD = $(LDADDS)
195 testfilechooser_LDADD = $(LDADDS)
196 testfilechooserbutton_LDADD = $(LDADDS)
197 testgtk_LDADD = $(LDADDS)
198 testicontheme_LDADD = $(LDADDS)
199 testiconview_LDADD = $(LDADDS)
200 testinput_LDADD = $(LDADDS)
201 testimage_LDADD = $(LDADDS)
202 testmenus_LDADD = $(LDADDS)
203 testmenubars_LDADD = $(LDADDS)
204 testmultidisplay_LDADD = $(LDADDS)
205 testmultiscreen_LDADD = $(LDADDS)
206 testnotebookdnd_LDADD = $(LDADDS)
207 testnouiprint_LDADD = $(LDADDS)
208 testprint_LDADD = $(LDADDS)
209 testrecentchooser_LDADD = $(LDADDS)
210 testrecentchoosermenu_LDADD = $(LDADDS)
211 testrgb_LDADD = $(LDADDS)
212 testrichtext_LDADD = $(LDADDS)
213 testselection_LDADD = $(LDADDS)
214 testsocket_LDADD = $(LDADDS)
215 testsocket_child_LDADD = $(LDADDS)
216 testspinbutton_LDADD = $(LDADDS)
217 teststatusicon_LDADD = $(LDADDS)
218 testtoolbar_LDADD = $(LDADDS)
219 stresstest_toolbar_LDADD = $(LDADDS)
220 testtreeedit_LDADD = $(LDADDS)
221 testtreemodel_LDADD = $(LDADDS)
222 testtreeview_LDADD = $(LDADDS)
223 testtreefocus_LDADD = $(LDADDS)
224 testtreeflow_LDADD = $(LDADDS)
225 testtreecolumns_LDADD = $(LDADDS)
226 testtreesort_LDADD = $(LDADDS)
227 testtext_LDADD = $(LDADDS)
228 treestoretest_LDADD = $(LDADDS)
229 testxinerama_LDADD = $(LDADDS)
230 pixbuf_read_LDADD = $(LDADDS)
231 pixbuf_lowmem_LDADD = $(LDADDS)
232 pixbuf_randomly_modified_LDADD = $(LDADDS)
233 pixbuf_random_LDADD = $(LDADDS)
234 pixbuf_threads_LDADD = $(LDADDS) $(GLIB_LIBS)
235 testmerge_LDADD = $(LDADDS)
236 testactions_LDADD = $(LDADDS)
237 testgrouping_LDADD = $(LDADDS)
238 testtooltips_LDADD = $(LDADDS)
239 testvolumebutton_LDADD = $(LDADDS)
240
241
242 testentrycompletion_SOURCES =   \
243         prop-editor.c           \
244         testentrycompletion.c
245
246 testfilechooser_SOURCES =       \
247         prop-editor.c           \
248         testfilechooser.c       
249
250 testfilechooserbutton_SOURCES = \
251         prop-editor.c           \
252         testfilechooserbutton.c         
253
254 testgtk_SOURCES =       \
255         prop-editor.c   \
256         testgtk.c       
257
258 testtreeedit_SOURCES =  \
259         testtreeedit.c
260
261 testtreemodel_SOURCES = \
262         testtreemodel.c
263
264 testtreeview_SOURCES =  \
265         prop-editor.c   \
266         testtreeview.c 
267
268 testtext_SOURCES =      \
269         prop-editor.c   \
270         testtext.c 
271
272 testtoolbar_SOURCES =   \
273         testtoolbar.c   \
274         prop-editor.c
275
276 testprint_SOURCES =     \
277         testprint.c             \
278         testprintfileoperation.h \
279         testprintfileoperation.c
280
281 testsocket_SOURCES =            \
282         testsocket.c            \
283         testsocket_common.c
284
285 testsocket_child_SOURCES =      \
286         testsocket_child.c      \
287         testsocket_common.c
288
289 testspinbutton_SOURCES =        \
290         testspinbutton.c
291
292 teststatusicon_SOURCES =        \
293         prop-editor.c           \
294         teststatusicon.c
295
296 testmerge_SOURCES =             \
297         testmerge.c
298
299 testactions_SOURCES =           \
300         testactions.c
301
302 testbbox_SOURCES =              \
303         testbbox.c
304
305 testframe_SOURCES =             \
306         testframe.c
307
308 testiconview_SOURCES =          \
309         testiconview.c          \
310         prop-editor.c
311
312 testrecentchooser_SOURCES =     \
313         prop-editor.c           \
314         testrecentchooser.c
315
316 testgrouping_SOURCES =          \
317         testgrouping.c
318
319 testtooltips_SOURCES =          \
320         testtooltips.c
321
322 testrecentchoosermenu_SOURCES = \
323         testrecentchoosermenu.c
324
325 testvolumebutton_SOURCES =      \
326         testvolumebutton.c
327
328 EXTRA_DIST +=                   \
329         prop-editor.h           \
330         testgtk.1               \
331         testgtkrc               \
332         testgtkrc2              \
333         circles.xbm             \
334         3DRings.xpm             \
335         FilesQueue.xpm          \
336         Modeller.xpm            \
337         check-y.xpm             \
338         check-n.xpm             \
339         marble.xpm              \
340         test.xpm                \
341         check-y.xpm             \
342         check-n.xpm             \
343         test.xpm                \
344         merge-1.ui              \
345         merge-2.ui              \
346         merge-3.ui              \
347         gnome-textfile.png      \
348         makefile.msc
349