Merge lp:~cyphermox/libappindicator/fix-tests into lp:libappindicator/13.04
- fix-tests
- Merge into trunk.13.04
Status: | Merged |
---|---|
Merged at revision: | 248 |
Proposed branch: | lp:~cyphermox/libappindicator/fix-tests |
Merge into: | lp:libappindicator/13.04 |
Diff against target: |
623 lines (+65/-271) 15 files modified
acinclude.m4 (+1/-6) autogen.sh (+1/-0) configure.ac (+1/-1) debian/changelog (+3/-2) debian/rules (+9/-3) docs/reference/Makefile.am (+10/-12) docs/reference/tmpl/libappindicator-unused.sgml (+0/-42) gtk-doc.local.make (+0/-194) tests/Makefile.am (+8/-0) tests/test-libappindicator-dbus-client.c (+0/-2) tests/test-libappindicator-fallback-item.c (+1/-1) tests/test-libappindicator-fallback-watcher.c (+2/-3) tests/test-libappindicator-status-client.c (+1/-3) tests/test-libappindicator.c (+28/-0) tests/test-simple-app.c (+0/-2) |
To merge this branch: | bzr merge lp:~cyphermox/libappindicator/fix-tests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Needs Fixing | |
Didier Roche-Tolomelli | Needs Fixing | ||
Review via email: mp+139140@code.launchpad.net |
Commit message
Description of the change
Fix tests for gtkdoc; based on Charles' excellent work already (https:/
Addresses the tests being commented out and fixed DOC_SOURCE_DIR to correctly point to the right code directory given build with an "external" build dir (because of the parallel gtk2 and gtk3 builds).
PS Jenkins bot (ps-jenkins) wrote : | # |
Didier Roche-Tolomelli (didrocks) wrote : | # |
This looks good to me. However, looking at configure in the pbuilder, it seems there is one python extension build-dep missing:
checking for headers required to compile python extensions... not found
configure: error: could not find Python headers
dh_auto_configure: ../../configure --build=
make[1]: *** [doconfiguregtk
make[1]: Leaving directory `/tmp/buildd/
make: *** [build] Error 2
Once this is fixed, feel free to approve it :)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:252
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:255
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Allan LeSage (allanlesage) wrote : | # |
Concerning the Coverity-raring failure above, I'm going to disable that check temporarily as there are unrelated legit defects.
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
Allan LeSage (allanlesage) wrote : | # |
Apologies for this spurious failure-
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
SUCCESS: http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Preview Diff
1 | === modified file 'acinclude.m4' | |||
2 | --- acinclude.m4 2009-12-12 02:23:37 +0000 | |||
3 | +++ acinclude.m4 2013-01-17 16:23:26 +0000 | |||
4 | @@ -228,12 +228,7 @@ | |||
5 | 228 | [AC_REQUIRE([AM_PATH_PYTHON]) | 228 | [AC_REQUIRE([AM_PATH_PYTHON]) |
6 | 229 | AC_MSG_CHECKING(for headers required to compile python extensions) | 229 | AC_MSG_CHECKING(for headers required to compile python extensions) |
7 | 230 | dnl deduce PYTHON_INCLUDES | 230 | dnl deduce PYTHON_INCLUDES |
14 | 231 | py_prefix=`$PYTHON -c "import sys; print sys.prefix"` | 231 | PYTHON_INCLUDES="$PYTHON_INCLUDES `python-config --includes`" |
9 | 232 | py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"` | ||
10 | 233 | PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}" | ||
11 | 234 | if test "$py_prefix" != "$py_exec_prefix"; then | ||
12 | 235 | PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}" | ||
13 | 236 | fi | ||
15 | 237 | AC_SUBST(PYTHON_INCLUDES) | 232 | AC_SUBST(PYTHON_INCLUDES) |
16 | 238 | dnl check if the headers exist: | 233 | dnl check if the headers exist: |
17 | 239 | save_CPPFLAGS="$CPPFLAGS" | 234 | save_CPPFLAGS="$CPPFLAGS" |
18 | 240 | 235 | ||
19 | === modified file 'autogen.sh' | |||
20 | --- autogen.sh 2010-12-02 20:37:25 +0000 | |||
21 | +++ autogen.sh 2013-01-17 16:23:26 +0000 | |||
22 | @@ -7,6 +7,7 @@ | |||
23 | 7 | exit 1 | 7 | exit 1 |
24 | 8 | } | 8 | } |
25 | 9 | 9 | ||
26 | 10 | gtkdocize || exit 1 | ||
27 | 10 | USE_GNOME2_MACROS=1 \ | 11 | USE_GNOME2_MACROS=1 \ |
28 | 11 | USE_COMMON_DOC_BUILD=yes \ | 12 | USE_COMMON_DOC_BUILD=yes \ |
29 | 12 | gnome-autogen.sh --enable-gtk-doc $@ | 13 | gnome-autogen.sh --enable-gtk-doc $@ |
30 | 13 | 14 | ||
31 | === modified file 'configure.ac' | |||
32 | --- configure.ac 2012-07-11 19:19:21 +0000 | |||
33 | +++ configure.ac 2013-01-17 16:23:26 +0000 | |||
34 | @@ -33,7 +33,7 @@ | |||
35 | 33 | # GTK Doc | 33 | # GTK Doc |
36 | 34 | ########################### | 34 | ########################### |
37 | 35 | 35 | ||
39 | 36 | GTK_DOC_CHECK([1.9]) | 36 | GTK_DOC_CHECK([1.14],[--flavour no-tmpl]) |
40 | 37 | 37 | ||
41 | 38 | 38 | ||
42 | 39 | ########################### | 39 | ########################### |
43 | 40 | 40 | ||
44 | === modified file 'debian/changelog' | |||
45 | --- debian/changelog 2012-11-30 22:36:23 +0000 | |||
46 | +++ debian/changelog 2013-01-17 16:23:26 +0000 | |||
47 | @@ -1,4 +1,4 @@ | |||
49 | 1 | libappindicator (12.10.1-0ubuntu1) UNRELEASED; urgency=low | 1 | libappindicator (12.10.9-0ubuntu1~mtrudel1) raring; urgency=low |
50 | 2 | 2 | ||
51 | 3 | * debian/control: | 3 | * debian/control: |
52 | 4 | - Update style: use trailing commas at the end of dependency lists. | 4 | - Update style: use trailing commas at the end of dependency lists. |
53 | @@ -15,9 +15,10 @@ | |||
54 | 15 | - Add and export DPKG_GENSYMBOLS_CHECK_LEVEL. | 15 | - Add and export DPKG_GENSYMBOLS_CHECK_LEVEL. |
55 | 16 | - Override dh_autoreconf to run autogen.sh and not call configure. | 16 | - Override dh_autoreconf to run autogen.sh and not call configure. |
56 | 17 | - Override dh_auto_test to run tests per-flavor. | 17 | - Override dh_auto_test to run tests per-flavor. |
57 | 18 | - Temporarily disable tests. | ||
58 | 19 | * debian/*.install: | 18 | * debian/*.install: |
59 | 20 | - Update paths for multiarch and for use with dh9 (remove debian/tmp...) | 19 | - Update paths for multiarch and for use with dh9 (remove debian/tmp...) |
60 | 20 | * Fix gtkdoc tests and building of the documentation given a separate build | ||
61 | 21 | directory. | ||
62 | 21 | 22 | ||
63 | 22 | -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 26 Nov 2012 11:02:18 -0500 | 23 | -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 26 Nov 2012 11:02:18 -0500 |
64 | 23 | 24 | ||
65 | 24 | 25 | ||
66 | === modified file 'debian/rules' | |||
67 | --- debian/rules 2012-12-04 17:01:40 +0000 | |||
68 | +++ debian/rules 2013-01-17 16:23:26 +0000 | |||
69 | @@ -20,6 +20,7 @@ | |||
70 | 20 | # Note: No cli here so that the pbuilder stuff works | 20 | # Note: No cli here so that the pbuilder stuff works |
71 | 21 | clean: | 21 | clean: |
72 | 22 | dh_clean | 22 | dh_clean |
73 | 23 | dh_autoreconf_clean | ||
74 | 23 | 24 | ||
75 | 24 | override_dh_autoreconf: | 25 | override_dh_autoreconf: |
76 | 25 | NOCONFIGURE=1 dh_autoreconf ./autogen.sh | 26 | NOCONFIGURE=1 dh_autoreconf ./autogen.sh |
77 | @@ -72,14 +73,19 @@ | |||
78 | 72 | override_dh_auto_test: $(FLAVORS:%=dotest-%) | 73 | override_dh_auto_test: $(FLAVORS:%=dotest-%) |
79 | 73 | 74 | ||
80 | 74 | dotest-%: | 75 | dotest-%: |
82 | 75 | #dh_auto_test --builddirectory=build/$* | 76 | ps -ef |
83 | 77 | env | ||
84 | 78 | dh_auto_test --builddirectory=build/$* -- | ||
85 | 79 | |||
86 | 76 | 80 | ||
87 | 77 | dotest-gtk2: $(PY_VERSIONS:%=dotestgtk2-%) | 81 | dotest-gtk2: $(PY_VERSIONS:%=dotestgtk2-%) |
88 | 78 | # GTK2 flavor test was run on a per-python-version basis. | 82 | # GTK2 flavor test was run on a per-python-version basis. |
89 | 79 | 83 | ||
90 | 80 | dotestgtk2-%: | 84 | dotestgtk2-%: |
93 | 81 | #PYTHON=`which $*` \ | 85 | ps -ef |
94 | 82 | # dh_auto_test --builddirectory=build/gtk2 | 86 | env |
95 | 87 | PYTHON=`which $*` \ | ||
96 | 88 | dh_auto_test --builddirectory=build/gtk2 -- | ||
97 | 83 | 89 | ||
98 | 84 | override_dh_auto_clean: | 90 | override_dh_auto_clean: |
99 | 85 | dh_auto_clean | 91 | dh_auto_clean |
100 | 86 | 92 | ||
101 | === modified file 'docs/reference/Makefile.am' | |||
102 | --- docs/reference/Makefile.am 2011-02-11 04:03:01 +0000 | |||
103 | +++ docs/reference/Makefile.am 2013-01-17 16:23:26 +0000 | |||
104 | @@ -30,7 +30,7 @@ | |||
105 | 30 | # gtk-doc will search all .c & .h files beneath here for inline comments | 30 | # gtk-doc will search all .c & .h files beneath here for inline comments |
106 | 31 | # documenting the functions and macros. | 31 | # documenting the functions and macros. |
107 | 32 | # e.g. DOC_SOURCE_DIR=../../../gtk | 32 | # e.g. DOC_SOURCE_DIR=../../../gtk |
109 | 33 | DOC_SOURCE_DIR=../../src | 33 | DOC_SOURCE_DIR=$(top_srcdir)/src |
110 | 34 | 34 | ||
111 | 35 | # Extra options to pass to gtkdoc-scangobj. Not normally needed. | 35 | # Extra options to pass to gtkdoc-scangobj. Not normally needed. |
112 | 36 | SCANGOBJ_OPTIONS=--nogtkinit --type-init-func="g_type_init()" | 36 | SCANGOBJ_OPTIONS=--nogtkinit --type-init-func="g_type_init()" |
113 | @@ -102,7 +102,7 @@ | |||
114 | 102 | GTKDOC_LIBS=$(top_builddir)/src/$(APPINDICATORLIB) $(LIBRARY_LIBS) | 102 | GTKDOC_LIBS=$(top_builddir)/src/$(APPINDICATORLIB) $(LIBRARY_LIBS) |
115 | 103 | 103 | ||
116 | 104 | # This includes the standard gtk-doc make rules, copied by gtkdocize. | 104 | # This includes the standard gtk-doc make rules, copied by gtkdocize. |
118 | 105 | include $(top_srcdir)/gtk-doc.local.make | 105 | include $(top_srcdir)/gtk-doc.make |
119 | 106 | 106 | ||
120 | 107 | # Other files to distribute | 107 | # Other files to distribute |
121 | 108 | # e.g. EXTRA_DIST += version.xml.in | 108 | # e.g. EXTRA_DIST += version.xml.in |
122 | @@ -113,13 +113,11 @@ | |||
123 | 113 | # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt | 113 | # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt |
124 | 114 | #DISTCLEANFILES += | 114 | #DISTCLEANFILES += |
125 | 115 | 115 | ||
136 | 116 | # Comment this out if you want your docs-status tested during 'make check' | 116 | # Comment this out if you want 'make check' to test you doc status |
137 | 117 | TESTS = gtkdoc-in-srcdir | 117 | # and run some sanity checks |
138 | 118 | 118 | if ENABLE_GTK_DOC | |
139 | 119 | gtkdoc-in-srcdir: Makefile.am | 119 | TESTS_ENVIRONMENT = cd $(srcdir) && \ |
140 | 120 | @echo "#!/bin/sh" > $@ | 120 | DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \ |
141 | 121 | @echo "cd \"$(srcdir)\"" >> $@ | 121 | SRCDIR=$(abs_srcdir) BUILDDIR=$(abs_builddir) |
142 | 122 | @echo "$(GTKDOC_CHECK)" >> $@ | 122 | TESTS = $(GTKDOC_CHECK) |
143 | 123 | @chmod +x $@ | 123 | endif |
134 | 124 | DISTCLEANFILES = gtkdoc-in-srcdir | ||
135 | 125 | |||
144 | 126 | 124 | ||
145 | === removed directory 'docs/reference/tmpl' | |||
146 | === removed file 'docs/reference/tmpl/libappindicator-unused.sgml' | |||
147 | --- docs/reference/tmpl/libappindicator-unused.sgml 2011-02-24 04:21:55 +0000 | |||
148 | +++ docs/reference/tmpl/libappindicator-unused.sgml 1970-01-01 00:00:00 +0000 | |||
149 | @@ -1,42 +0,0 @@ | |||
150 | 1 | <!-- ##### MACRO APP_INDICATOR_SIGNAL_NEW_ACCESSIBLE_DESC ##### --> | ||
151 | 2 | <para> | ||
152 | 3 | |||
153 | 4 | </para> | ||
154 | 5 | |||
155 | 6 | |||
156 | 7 | <!-- ##### SIGNAL AppIndicator::new-accessible-desc ##### --> | ||
157 | 8 | <para> | ||
158 | 9 | |||
159 | 10 | </para> | ||
160 | 11 | |||
161 | 12 | @appindicator: the object which received the signal. | ||
162 | 13 | @arg1: | ||
163 | 14 | |||
164 | 15 | <!-- ##### ARG AppIndicator:accessible-desc ##### --> | ||
165 | 16 | <para> | ||
166 | 17 | |||
167 | 18 | </para> | ||
168 | 19 | |||
169 | 20 | |||
170 | 21 | <!-- ##### ARG AppIndicator:icon-path ##### --> | ||
171 | 22 | <para> | ||
172 | 23 | |||
173 | 24 | </para> | ||
174 | 25 | |||
175 | 26 | |||
176 | 27 | <!-- ##### FUNCTION app_indicator_get_accessible_desc ##### --> | ||
177 | 28 | <para> | ||
178 | 29 | |||
179 | 30 | </para> | ||
180 | 31 | |||
181 | 32 | @self: | ||
182 | 33 | @Returns: | ||
183 | 34 | |||
184 | 35 | <!-- ##### FUNCTION app_indicator_set_accessible_desc ##### --> | ||
185 | 36 | <para> | ||
186 | 37 | |||
187 | 38 | </para> | ||
188 | 39 | |||
189 | 40 | @self: | ||
190 | 41 | @accessible_desc: | ||
191 | 42 | |||
192 | 43 | 0 | ||
193 | === removed file 'gtk-doc.local.make' | |||
194 | --- gtk-doc.local.make 2009-12-08 21:03:27 +0000 | |||
195 | +++ gtk-doc.local.make 1970-01-01 00:00:00 +0000 | |||
196 | @@ -1,194 +0,0 @@ | |||
197 | 1 | # -*- mode: makefile -*- | ||
198 | 2 | |||
199 | 3 | #################################### | ||
200 | 4 | # Everything below here is generic # | ||
201 | 5 | #################################### | ||
202 | 6 | |||
203 | 7 | if GTK_DOC_USE_LIBTOOL | ||
204 | 8 | GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
205 | 9 | GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) | ||
206 | 10 | GTKDOC_RUN = $(LIBTOOL) --mode=execute | ||
207 | 11 | else | ||
208 | 12 | GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) | ||
209 | 13 | GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) | ||
210 | 14 | GTKDOC_RUN = sh -c | ||
211 | 15 | endif | ||
212 | 16 | |||
213 | 17 | # We set GPATH here; this gives us semantics for GNU make | ||
214 | 18 | # which are more like other make's VPATH, when it comes to | ||
215 | 19 | # whether a source that is a target of one rule is then | ||
216 | 20 | # searched for in VPATH/GPATH. | ||
217 | 21 | # | ||
218 | 22 | GPATH = $(srcdir) | ||
219 | 23 | |||
220 | 24 | TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE) | ||
221 | 25 | |||
222 | 26 | EXTRA_DIST = \ | ||
223 | 27 | $(content_files) \ | ||
224 | 28 | $(HTML_IMAGES) \ | ||
225 | 29 | $(DOC_MAIN_SGML_FILE) | ||
226 | 30 | |||
227 | 31 | DOC_STAMPS=scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \ | ||
228 | 32 | $(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp | ||
229 | 33 | |||
230 | 34 | SCANOBJ_FILES = \ | ||
231 | 35 | $(DOC_MODULE).args \ | ||
232 | 36 | $(DOC_MODULE).hierarchy \ | ||
233 | 37 | $(DOC_MODULE).interfaces \ | ||
234 | 38 | $(DOC_MODULE).prerequisites \ | ||
235 | 39 | $(DOC_MODULE).signals | ||
236 | 40 | |||
237 | 41 | REPORT_FILES = \ | ||
238 | 42 | $(DOC_MODULE)-undocumented.txt \ | ||
239 | 43 | $(DOC_MODULE)-undeclared.txt \ | ||
240 | 44 | $(DOC_MODULE)-unused.txt | ||
241 | 45 | |||
242 | 46 | CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS) | ||
243 | 47 | |||
244 | 48 | if ENABLE_GTK_DOC | ||
245 | 49 | all-local: html-build.stamp | ||
246 | 50 | else | ||
247 | 51 | all-local: | ||
248 | 52 | endif | ||
249 | 53 | |||
250 | 54 | docs: html-build.stamp | ||
251 | 55 | |||
252 | 56 | $(REPORT_FILES): sgml-build.stamp | ||
253 | 57 | |||
254 | 58 | #### scan #### | ||
255 | 59 | |||
256 | 60 | scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB) | ||
257 | 61 | @echo 'gtk-doc: Scanning header files' | ||
258 | 62 | @-chmod -R u+w $(srcdir) | ||
259 | 63 | cd $(srcdir) && \ | ||
260 | 64 | gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES) | ||
261 | 65 | if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \ | ||
262 | 66 | CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \ | ||
263 | 67 | else \ | ||
264 | 68 | cd $(srcdir) ; \ | ||
265 | 69 | for i in $(SCANOBJ_FILES) ; do \ | ||
266 | 70 | test -f $$i || touch $$i ; \ | ||
267 | 71 | done \ | ||
268 | 72 | fi | ||
269 | 73 | touch scan-build.stamp | ||
270 | 74 | |||
271 | 75 | $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp | ||
272 | 76 | @true | ||
273 | 77 | |||
274 | 78 | #### templates #### | ||
275 | 79 | |||
276 | 80 | tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt | ||
277 | 81 | @echo 'gtk-doc: Rebuilding template files' | ||
278 | 82 | @-chmod -R u+w $(srcdir) | ||
279 | 83 | cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS) | ||
280 | 84 | touch tmpl-build.stamp | ||
281 | 85 | |||
282 | 86 | tmpl.stamp: tmpl-build.stamp | ||
283 | 87 | @true | ||
284 | 88 | |||
285 | 89 | tmpl/*.sgml: | ||
286 | 90 | @true | ||
287 | 91 | |||
288 | 92 | |||
289 | 93 | #### xml #### | ||
290 | 94 | |||
291 | 95 | sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files) | ||
292 | 96 | @echo 'gtk-doc: Building XML' | ||
293 | 97 | @-chmod -R u+w $(srcdir) | ||
294 | 98 | cd $(srcdir) && \ | ||
295 | 99 | gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS) | ||
296 | 100 | touch sgml-build.stamp | ||
297 | 101 | |||
298 | 102 | sgml.stamp: sgml-build.stamp | ||
299 | 103 | @true | ||
300 | 104 | |||
301 | 105 | #### html #### | ||
302 | 106 | |||
303 | 107 | html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) | ||
304 | 108 | @echo 'gtk-doc: Building HTML' | ||
305 | 109 | @-chmod -R u+w $(srcdir) | ||
306 | 110 | rm -rf $(srcdir)/html | ||
307 | 111 | mkdir $(srcdir)/html | ||
308 | 112 | mkhtml_options=""; \ | ||
309 | 113 | gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \ | ||
310 | 114 | if test "$(?)" = "0"; then \ | ||
311 | 115 | mkhtml_options=--path="$(srcdir)"; \ | ||
312 | 116 | fi | ||
313 | 117 | cd $(srcdir)/html && gtkdoc-mkhtml $(mkhtml_options) $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) | ||
314 | 118 | test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html ) | ||
315 | 119 | @echo 'gtk-doc: Fixing cross-references' | ||
316 | 120 | cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) | ||
317 | 121 | touch html-build.stamp | ||
318 | 122 | |||
319 | 123 | ############## | ||
320 | 124 | |||
321 | 125 | clean-local: | ||
322 | 126 | rm -f *~ *.bak | ||
323 | 127 | rm -rf .libs | ||
324 | 128 | |||
325 | 129 | distclean-local: | ||
326 | 130 | cd $(srcdir) && \ | ||
327 | 131 | rm -rf xml $(REPORT_FILES) \ | ||
328 | 132 | $(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt | ||
329 | 133 | |||
330 | 134 | maintainer-clean-local: clean | ||
331 | 135 | cd $(srcdir) && rm -rf xml html | ||
332 | 136 | |||
333 | 137 | install-data-local: | ||
334 | 138 | installfiles=`echo $(srcdir)/html/*`; \ | ||
335 | 139 | if test "$$installfiles" = '$(srcdir)/html/*'; \ | ||
336 | 140 | then echo '-- Nothing to install' ; \ | ||
337 | 141 | else \ | ||
338 | 142 | if test -n "$(DOC_MODULE_VERSION)"; then \ | ||
339 | 143 | installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ | ||
340 | 144 | else \ | ||
341 | 145 | installdir="$(DESTDIR)$(TARGET_DIR)"; \ | ||
342 | 146 | fi; \ | ||
343 | 147 | $(mkinstalldirs) $${installdir} ; \ | ||
344 | 148 | for i in $$installfiles; do \ | ||
345 | 149 | echo '-- Installing '$$i ; \ | ||
346 | 150 | $(INSTALL_DATA) $$i $${installdir}; \ | ||
347 | 151 | done; \ | ||
348 | 152 | if test -n "$(DOC_MODULE_VERSION)"; then \ | ||
349 | 153 | mv -f $${installdir}/$(DOC_MODULE).devhelp2 \ | ||
350 | 154 | $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp2; \ | ||
351 | 155 | mv -f $${installdir}/$(DOC_MODULE).devhelp \ | ||
352 | 156 | $${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \ | ||
353 | 157 | fi; \ | ||
354 | 158 | ! which gtkdoc-rebase >/dev/null 2>&1 || \ | ||
355 | 159 | gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \ | ||
356 | 160 | fi | ||
357 | 161 | |||
358 | 162 | uninstall-local: | ||
359 | 163 | if test -n "$(DOC_MODULE_VERSION)"; then \ | ||
360 | 164 | installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \ | ||
361 | 165 | else \ | ||
362 | 166 | installdir="$(DESTDIR)$(TARGET_DIR)"; \ | ||
363 | 167 | fi; \ | ||
364 | 168 | rm -rf $${installdir} | ||
365 | 169 | |||
366 | 170 | # | ||
367 | 171 | # Require gtk-doc when making dist | ||
368 | 172 | # | ||
369 | 173 | if ENABLE_GTK_DOC | ||
370 | 174 | dist-check-gtkdoc: | ||
371 | 175 | else | ||
372 | 176 | dist-check-gtkdoc: | ||
373 | 177 | @echo "*** gtk-doc must be installed and enabled in order to make dist" | ||
374 | 178 | @false | ||
375 | 179 | endif | ||
376 | 180 | |||
377 | 181 | dist-hook: dist-check-gtkdoc dist-hook-local | ||
378 | 182 | mkdir $(distdir)/tmpl | ||
379 | 183 | mkdir $(distdir)/xml | ||
380 | 184 | mkdir $(distdir)/html | ||
381 | 185 | -cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl | ||
382 | 186 | -cp $(srcdir)/xml/*.xml $(distdir)/xml | ||
383 | 187 | -cp $(srcdir)/html/* $(distdir)/html | ||
384 | 188 | -cp $(srcdir)/$(DOC_MODULE).types $(distdir)/ | ||
385 | 189 | -cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/ | ||
386 | 190 | cd $(distdir) && rm -f $(DISTCLEANFILES) | ||
387 | 191 | ! which gtkdoc-rebase >/dev/null 2>&1 || \ | ||
388 | 192 | gtkdoc-rebase --online --relative --html-dir=$(distdir)/html | ||
389 | 193 | |||
390 | 194 | .PHONY : dist-hook-local docs | ||
391 | 195 | 0 | ||
392 | === modified file 'tests/Makefile.am' | |||
393 | --- tests/Makefile.am 2011-02-11 04:14:28 +0000 | |||
394 | +++ tests/Makefile.am 2013-01-17 16:23:26 +0000 | |||
395 | @@ -137,6 +137,8 @@ | |||
396 | 137 | 137 | ||
397 | 138 | test-libappindicator-fallback: test-libappindicator-fallback-watcher test-libappindicator-fallback-item Makefile.am | 138 | test-libappindicator-fallback: test-libappindicator-fallback-watcher test-libappindicator-fallback-item Makefile.am |
398 | 139 | @echo "#!/bin/bash" > $@ | 139 | @echo "#!/bin/bash" > $@ |
399 | 140 | @echo export DISPLAY= >> $@ | ||
400 | 141 | @echo killall at-spi2-registryd >> $@ | ||
401 | 140 | @echo . $(srcdir)/run-xvfb.sh >> $@ | 142 | @echo . $(srcdir)/run-xvfb.sh >> $@ |
402 | 141 | @echo $(DBUS_RUNNER) --task ./test-libappindicator-fallback-watcher --task-name Watcher --ignore-return --task ./test-libappindicator-fallback-item --task-name Item >> $@ | 143 | @echo $(DBUS_RUNNER) --task ./test-libappindicator-fallback-watcher --task-name Watcher --ignore-return --task ./test-libappindicator-fallback-item --task-name Item >> $@ |
403 | 142 | @chmod +x $@ | 144 | @chmod +x $@ |
404 | @@ -152,6 +154,8 @@ | |||
405 | 152 | 154 | ||
406 | 153 | libappindicator-tests: libappindicator-tests-gtester Makefile.am | 155 | libappindicator-tests: libappindicator-tests-gtester Makefile.am |
407 | 154 | @echo "#!/bin/bash" > $@ | 156 | @echo "#!/bin/bash" > $@ |
408 | 157 | @echo export DISPLAY= >> $@ | ||
409 | 158 | @echo killall at-spi2-registryd >> $@ | ||
410 | 155 | @echo . $(srcdir)/run-xvfb.sh >> $@ | 159 | @echo . $(srcdir)/run-xvfb.sh >> $@ |
411 | 156 | @echo export UBUNTU_MENUPROXY= >> $@ | 160 | @echo export UBUNTU_MENUPROXY= >> $@ |
412 | 157 | @echo $(DBUS_RUNNER) --task ./libappindicator-tests-gtester >> $@ | 161 | @echo $(DBUS_RUNNER) --task ./libappindicator-tests-gtester >> $@ |
413 | @@ -170,6 +174,8 @@ | |||
414 | 170 | 174 | ||
415 | 171 | test-libappindicator-dbus: test-libappindicator-dbus-client test-libappindicator-dbus-server Makefile.am | 175 | test-libappindicator-dbus: test-libappindicator-dbus-client test-libappindicator-dbus-server Makefile.am |
416 | 172 | @echo "#!/bin/bash" > test-libappindicator-dbus | 176 | @echo "#!/bin/bash" > test-libappindicator-dbus |
417 | 177 | @echo export DISPLAY= >> $@ | ||
418 | 178 | @echo killall at-spi2-registryd >> $@ | ||
419 | 173 | @echo . $(srcdir)/run-xvfb.sh >> $@ | 179 | @echo . $(srcdir)/run-xvfb.sh >> $@ |
420 | 174 | @echo $(DBUS_RUNNER) --task ./test-libappindicator-dbus-client --task-name Client --task ./test-libappindicator-dbus-server --task-name Server --ignore-return >> test-libappindicator-dbus | 180 | @echo $(DBUS_RUNNER) --task ./test-libappindicator-dbus-client --task-name Client --task ./test-libappindicator-dbus-server --task-name Server --ignore-return >> test-libappindicator-dbus |
421 | 175 | @chmod +x test-libappindicator-dbus | 181 | @chmod +x test-libappindicator-dbus |
422 | @@ -179,6 +185,8 @@ | |||
423 | 179 | 185 | ||
424 | 180 | test-libappindicator-status: test-libappindicator-status-client test-libappindicator-status-server Makefile.am | 186 | test-libappindicator-status: test-libappindicator-status-client test-libappindicator-status-server Makefile.am |
425 | 181 | @echo "#!/bin/bash" > test-libappindicator-status | 187 | @echo "#!/bin/bash" > test-libappindicator-status |
426 | 188 | @echo export DISPLAY= >> $@ | ||
427 | 189 | @echo killall at-spi2-registryd >> $@ | ||
428 | 182 | @echo . $(srcdir)/run-xvfb.sh >> $@ | 190 | @echo . $(srcdir)/run-xvfb.sh >> $@ |
429 | 183 | @echo $(DBUS_RUNNER) --task ./test-libappindicator-status-client --task-name Client --task ./test-libappindicator-status-server --task-name Server --ignore-return >> test-libappindicator-status | 191 | @echo $(DBUS_RUNNER) --task ./test-libappindicator-status-client --task-name Client --task ./test-libappindicator-status-server --task-name Server --ignore-return >> test-libappindicator-status |
430 | 184 | @chmod +x test-libappindicator-status | 192 | @chmod +x test-libappindicator-status |
431 | 185 | 193 | ||
432 | === modified file 'tests/test-libappindicator-dbus-client.c' | |||
433 | --- tests/test-libappindicator-dbus-client.c 2010-12-08 16:54:16 +0000 | |||
434 | +++ tests/test-libappindicator-dbus-client.c 2013-01-17 16:23:26 +0000 | |||
435 | @@ -204,8 +204,6 @@ | |||
436 | 204 | gint | 204 | gint |
437 | 205 | main (gint argc, gchar * argv[]) | 205 | main (gint argc, gchar * argv[]) |
438 | 206 | { | 206 | { |
439 | 207 | g_type_init(); | ||
440 | 208 | |||
441 | 209 | GError * error = NULL; | 207 | GError * error = NULL; |
442 | 210 | DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, &error); | 208 | DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, &error); |
443 | 211 | if (error != NULL) { | 209 | if (error != NULL) { |
444 | 212 | 210 | ||
445 | === modified file 'tests/test-libappindicator-fallback-item.c' | |||
446 | --- tests/test-libappindicator-fallback-item.c 2010-06-11 17:34:09 +0000 | |||
447 | +++ tests/test-libappindicator-fallback-item.c 2013-01-17 16:23:26 +0000 | |||
448 | @@ -138,7 +138,7 @@ | |||
449 | 138 | GtkWidget * menu = gtk_menu_new(); | 138 | GtkWidget * menu = gtk_menu_new(); |
450 | 139 | app_indicator_set_menu(APP_INDICATOR(item), GTK_MENU(menu)); | 139 | app_indicator_set_menu(APP_INDICATOR(item), GTK_MENU(menu)); |
451 | 140 | 140 | ||
453 | 141 | g_timeout_add_seconds(2, kill_func, NULL); | 141 | g_timeout_add_seconds(20, kill_func, NULL); |
454 | 142 | 142 | ||
455 | 143 | mainloop = g_main_loop_new(NULL, FALSE); | 143 | mainloop = g_main_loop_new(NULL, FALSE); |
456 | 144 | g_main_loop_run(mainloop); | 144 | g_main_loop_run(mainloop); |
457 | 145 | 145 | ||
458 | === modified file 'tests/test-libappindicator-fallback-watcher.c' | |||
459 | --- tests/test-libappindicator-fallback-watcher.c 2010-06-11 17:35:21 +0000 | |||
460 | +++ tests/test-libappindicator-fallback-watcher.c 2013-01-17 16:23:26 +0000 | |||
461 | @@ -58,8 +58,6 @@ | |||
462 | 58 | int | 58 | int |
463 | 59 | main (int argv, char ** argc) | 59 | main (int argv, char ** argc) |
464 | 60 | { | 60 | { |
465 | 61 | g_type_init(); | ||
466 | 62 | |||
467 | 63 | g_debug("Waiting to init."); | 61 | g_debug("Waiting to init."); |
468 | 64 | 62 | ||
469 | 65 | 63 | ||
470 | @@ -77,6 +75,7 @@ | |||
471 | 77 | while (!has_owner && owner_count < 10000) { | 75 | while (!has_owner && owner_count < 10000) { |
472 | 78 | org_freedesktop_DBus_name_has_owner(bus_proxy, "org.test", &has_owner, NULL); | 76 | org_freedesktop_DBus_name_has_owner(bus_proxy, "org.test", &has_owner, NULL); |
473 | 79 | owner_count++; | 77 | owner_count++; |
474 | 78 | g_usleep(500000); | ||
475 | 80 | } | 79 | } |
476 | 81 | 80 | ||
477 | 82 | if (owner_count == 10000) { | 81 | if (owner_count == 10000) { |
478 | @@ -104,7 +103,7 @@ | |||
479 | 104 | 103 | ||
480 | 105 | /* This is the final kill function. It really shouldn't happen | 104 | /* This is the final kill function. It really shouldn't happen |
481 | 106 | unless we get an error. */ | 105 | unless we get an error. */ |
483 | 107 | g_timeout_add(2000, kill_func, NULL); | 106 | g_timeout_add_seconds(20, kill_func, NULL); |
484 | 108 | 107 | ||
485 | 109 | g_debug("Entering Mainloop"); | 108 | g_debug("Entering Mainloop"); |
486 | 110 | 109 | ||
487 | 111 | 110 | ||
488 | === modified file 'tests/test-libappindicator-status-client.c' | |||
489 | --- tests/test-libappindicator-status-client.c 2010-03-02 20:31:37 +0000 | |||
490 | +++ tests/test-libappindicator-status-client.c 2013-01-17 16:23:26 +0000 | |||
491 | @@ -109,8 +109,6 @@ | |||
492 | 109 | gint | 109 | gint |
493 | 110 | main (gint argc, gchar * argv[]) | 110 | main (gint argc, gchar * argv[]) |
494 | 111 | { | 111 | { |
495 | 112 | g_type_init(); | ||
496 | 113 | |||
497 | 114 | GError * error = NULL; | 112 | GError * error = NULL; |
498 | 115 | DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, &error); | 113 | DBusGConnection * session_bus = dbus_g_bus_get(DBUS_BUS_SESSION, &error); |
499 | 116 | if (error != NULL) { | 114 | if (error != NULL) { |
500 | @@ -137,7 +135,7 @@ | |||
501 | 137 | dbus_bus_add_match(dbus_g_connection_get_connection(session_bus), "type='signal',interface='" NOTIFICATION_ITEM_DBUS_IFACE "',member='NewStatus'", NULL); | 135 | dbus_bus_add_match(dbus_g_connection_get_connection(session_bus), "type='signal',interface='" NOTIFICATION_ITEM_DBUS_IFACE "',member='NewStatus'", NULL); |
502 | 138 | 136 | ||
503 | 139 | watchdog_hit = TRUE; | 137 | watchdog_hit = TRUE; |
505 | 140 | g_timeout_add(1000, kill_func, NULL); | 138 | g_timeout_add_seconds(20, kill_func, NULL); |
506 | 141 | 139 | ||
507 | 142 | mainloop = g_main_loop_new(NULL, FALSE); | 140 | mainloop = g_main_loop_new(NULL, FALSE); |
508 | 143 | g_main_loop_run(mainloop); | 141 | g_main_loop_run(mainloop); |
509 | 144 | 142 | ||
510 | === modified file 'tests/test-libappindicator.c' | |||
511 | --- tests/test-libappindicator.c 2012-01-29 03:42:34 +0000 | |||
512 | +++ tests/test-libappindicator.c 2013-01-17 16:23:26 +0000 | |||
513 | @@ -28,6 +28,16 @@ | |||
514 | 28 | #include <libdbusmenu-glib/menuitem.h> | 28 | #include <libdbusmenu-glib/menuitem.h> |
515 | 29 | #include <libdbusmenu-glib/server.h> | 29 | #include <libdbusmenu-glib/server.h> |
516 | 30 | 30 | ||
517 | 31 | static gboolean | ||
518 | 32 | allow_warnings (const gchar *log_domain, GLogLevelFlags log_level, | ||
519 | 33 | const gchar *message, gpointer user_data) | ||
520 | 34 | { | ||
521 | 35 | // By default, gtest will fail a test on even a warning message. | ||
522 | 36 | // But since some of our sub-libraries are noisy (especially at-spi2), | ||
523 | 37 | // only fail on critical or worse. | ||
524 | 38 | return ((log_level & G_LOG_LEVEL_MASK) <= G_LOG_LEVEL_CRITICAL); | ||
525 | 39 | } | ||
526 | 40 | |||
527 | 31 | void | 41 | void |
528 | 32 | test_libappindicator_prop_signals_status_helper (AppIndicator * ci, gchar * status, gboolean * signalactivated) | 42 | test_libappindicator_prop_signals_status_helper (AppIndicator * ci, gchar * status, gboolean * signalactivated) |
529 | 33 | { | 43 | { |
530 | @@ -45,6 +55,8 @@ | |||
531 | 45 | void | 55 | void |
532 | 46 | test_libappindicator_prop_signals (void) | 56 | test_libappindicator_prop_signals (void) |
533 | 47 | { | 57 | { |
534 | 58 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
535 | 59 | |||
536 | 48 | AppIndicator * ci = app_indicator_new ("test-app-indicator", | 60 | AppIndicator * ci = app_indicator_new ("test-app-indicator", |
537 | 49 | "indicator-messages", | 61 | "indicator-messages", |
538 | 50 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 62 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
539 | @@ -115,6 +127,8 @@ | |||
540 | 115 | void | 127 | void |
541 | 116 | test_libappindicator_init_set_props (void) | 128 | test_libappindicator_init_set_props (void) |
542 | 117 | { | 129 | { |
543 | 130 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
544 | 131 | |||
545 | 118 | AppIndicator * ci = app_indicator_new ("my-id", | 132 | AppIndicator * ci = app_indicator_new ("my-id", |
546 | 119 | "my-name", | 133 | "my-name", |
547 | 120 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 134 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
548 | @@ -139,6 +153,8 @@ | |||
549 | 139 | void | 153 | void |
550 | 140 | test_libappindicator_init_with_props (void) | 154 | test_libappindicator_init_with_props (void) |
551 | 141 | { | 155 | { |
552 | 156 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
553 | 157 | |||
554 | 142 | AppIndicator * ci = app_indicator_new ("my-id", | 158 | AppIndicator * ci = app_indicator_new ("my-id", |
555 | 143 | "my-name", | 159 | "my-name", |
556 | 144 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 160 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
557 | @@ -161,6 +177,8 @@ | |||
558 | 161 | void | 177 | void |
559 | 162 | test_libappindicator_init (void) | 178 | test_libappindicator_init (void) |
560 | 163 | { | 179 | { |
561 | 180 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
562 | 181 | |||
563 | 164 | AppIndicator * ci = app_indicator_new ("my-id", "my-name", APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 182 | AppIndicator * ci = app_indicator_new ("my-id", "my-name", APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
564 | 165 | g_assert(ci != NULL); | 183 | g_assert(ci != NULL); |
565 | 166 | g_object_unref(G_OBJECT(ci)); | 184 | g_object_unref(G_OBJECT(ci)); |
566 | @@ -170,6 +188,8 @@ | |||
567 | 170 | void | 188 | void |
568 | 171 | test_libappindicator_set_label (void) | 189 | test_libappindicator_set_label (void) |
569 | 172 | { | 190 | { |
570 | 191 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
571 | 192 | |||
572 | 173 | AppIndicator * ci = app_indicator_new ("my-id", | 193 | AppIndicator * ci = app_indicator_new ("my-id", |
573 | 174 | "my-name", | 194 | "my-name", |
574 | 175 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 195 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
575 | @@ -232,6 +252,8 @@ | |||
576 | 232 | void | 252 | void |
577 | 233 | test_libappindicator_set_menu (void) | 253 | test_libappindicator_set_menu (void) |
578 | 234 | { | 254 | { |
579 | 255 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
580 | 256 | |||
581 | 235 | AppIndicator * ci = app_indicator_new ("my-id", | 257 | AppIndicator * ci = app_indicator_new ("my-id", |
582 | 236 | "my-name", | 258 | "my-name", |
583 | 237 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 259 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
584 | @@ -301,6 +323,8 @@ | |||
585 | 301 | void | 323 | void |
586 | 302 | test_libappindicator_label_signals (void) | 324 | test_libappindicator_label_signals (void) |
587 | 303 | { | 325 | { |
588 | 326 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
589 | 327 | |||
590 | 304 | gint label_signals_count = 0; | 328 | gint label_signals_count = 0; |
591 | 305 | AppIndicator * ci = app_indicator_new ("my-id", | 329 | AppIndicator * ci = app_indicator_new ("my-id", |
592 | 306 | "my-name", | 330 | "my-name", |
593 | @@ -352,6 +376,8 @@ | |||
594 | 352 | void | 376 | void |
595 | 353 | test_libappindicator_desktop_menu (void) | 377 | test_libappindicator_desktop_menu (void) |
596 | 354 | { | 378 | { |
597 | 379 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
598 | 380 | |||
599 | 355 | AppIndicator * ci = app_indicator_new ("my-id-desktop-menu", | 381 | AppIndicator * ci = app_indicator_new ("my-id-desktop-menu", |
600 | 356 | "my-name", | 382 | "my-name", |
601 | 357 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 383 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
602 | @@ -388,6 +414,8 @@ | |||
603 | 388 | void | 414 | void |
604 | 389 | test_libappindicator_desktop_menu_bad (void) | 415 | test_libappindicator_desktop_menu_bad (void) |
605 | 390 | { | 416 | { |
606 | 417 | g_test_log_set_fatal_handler (allow_warnings, NULL); | ||
607 | 418 | |||
608 | 391 | AppIndicator * ci = app_indicator_new ("my-id-desktop-menu-bad", | 419 | AppIndicator * ci = app_indicator_new ("my-id-desktop-menu-bad", |
609 | 392 | "my-name", | 420 | "my-name", |
610 | 393 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); | 421 | APP_INDICATOR_CATEGORY_APPLICATION_STATUS); |
611 | 394 | 422 | ||
612 | === modified file 'tests/test-simple-app.c' | |||
613 | --- tests/test-simple-app.c 2010-04-29 16:31:36 +0000 | |||
614 | +++ tests/test-simple-app.c 2013-01-17 16:23:26 +0000 | |||
615 | @@ -31,8 +31,6 @@ | |||
616 | 31 | int | 31 | int |
617 | 32 | main (int argc, char ** argv) | 32 | main (int argc, char ** argv) |
618 | 33 | { | 33 | { |
619 | 34 | g_type_init(); | ||
620 | 35 | |||
621 | 36 | DbusmenuServer * dms = dbusmenu_server_new("/menu"); | 34 | DbusmenuServer * dms = dbusmenu_server_new("/menu"); |
622 | 37 | DbusmenuMenuitem * dmi = dbusmenu_menuitem_new(); | 35 | DbusmenuMenuitem * dmi = dbusmenu_menuitem_new(); |
623 | 38 | dbusmenu_menuitem_property_set(dmi, "label", "Bob"); | 36 | dbusmenu_menuitem_property_set(dmi, "label", "Bob"); |
FAILED: Continuous integration, rev:251 jenkins. qa.ubuntu. com/job/ libappindicator -ci/14/ jenkins. qa.ubuntu. com/job/ libappindicator -ci/./build= pbuilder, distribution= coverity- raring, flavor= amd64/14/ console jenkins. qa.ubuntu. com/job/ libappindicator -ci/./build= pbuilder, distribution= raring, flavor= i386/14/ console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: jenkins. qa.ubuntu. com/job/ libappindicator -ci/14/ /rebuild/?
http://