~elopio/click/fix-two-tests

Viewing all changes in revision 616.

  • Committer: Bileto Bot
  • Date: 2016-08-28 21:00:42 UTC
  • mfrom: (615.1.12 devel)
  • Revision ID: ci-train-bot@canonical.com-20160828210042-e42cawgqkcmulvcj
* Emit more debugging information when libclickpreload/libgimockpreload
  fail.
* Preload __xmknod rather than mknod (LP: #1615757).
* Stop the test suite leaving spurious empty /tmp/gimock* directories
  around.
* Remove stray blank line from click_package_install_hooks test preload
  annotations.
* Link libgimockpreload properly against libclick and several other
  libraries, and use -Wl,--no-as-needed to stop the linker discarding
  references to libraries that will be used via dlsym.
* Initialise real_* pointers in libgimockpreload more reliably.
* Export click_get_user_home for the benefit of the test suite.
* Fix click_get_user_home mocks to return bytes rather than text, avoiding
  obscure crashes in the test suite.
* Fix builds on xenial and earlier: build-depending on
  libpackagekit-glib2-dev (...) | base-files isn't resolved properly by
  apt, but we can just build-depend on libpackagekit-glib2-dev and let the
  rest of the build machinery disable use of PackageKit if it's 1.0.0 or
  newer.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: