build: fix make check
authorDaiki Ueno <ueno@unixuser.org>
Fri, 12 Jul 2013 09:05:06 +0000 (18:05 +0900)
committerDaiki Ueno <ueno@unixuser.org>
Fri, 12 Jul 2013 09:05:06 +0000 (18:05 +0900)
commit9037ffe0f3ab419554903de6f12d00ee74f2f3ff
tree7388d743ff65f10b2b03cba17b6dabb400675ee6
parentecced4f45a46cb7557717b04e1ce1b284a397b8c
build: fix make check

This contains several fixes to the current tests:

- Remove glib mem profiler call from src/tests, which is known not to
  work with the latest glib release:
  https://bugzilla.gnome.org/show_bug.cgi?id=701694
  valgrind could be used instead.

- Replace g_type_init() call in tests with ibus_init().

- Fix ibus-bus test after the DBus property change (commit 458945e7).
  no global engine may be set in the test environment.  Also add more
  assertions to check the return values.

- Fix pygobject test to use LOG_COMPILER and move sys.path adjustment
  into the test script itself.

- Add new files to po/POTFILES.in.

BUG=
R=takao.fujiwara1@gmail.com

Review URL: https://codereview.appspot.com/11156043
19 files changed:
bindings/pygobject/Makefile.am
bindings/pygobject/gi/__init__.py
bindings/pygobject/gi/overrides/__init__.py
bindings/pygobject/test-override-ibus.py
po/POTFILES.in
po/POTFILES.skip
src/tests/ibus-bus.c
src/tests/ibus-configservice.c
src/tests/ibus-engine.c
src/tests/ibus-factory.c
src/tests/ibus-global-engine.c
src/tests/ibus-inputcontext-create.c
src/tests/ibus-inputcontext.c
src/tests/ibus-keymap.c
src/tests/ibus-keynames.c
src/tests/ibus-proxy.c
src/tests/ibus-registry.c
src/tests/ibus-serializable.c
src/tests/ibus-share.c