~online-accounts/signon/packaging

Viewing all changes in revision 556.1.132.

  • Committer: Alberto Mardegan
  • Date: 2016-08-24 13:13:57 UTC
  • mto: This revision was merged to the branch mainline in revision 637.
  • Revision ID: git-v1:b01d837c3e0f0b65586f9cbf514b8fa020c6d672
Tests: fix the AuthSession "test from another process"

This test is failing with Qt 5.6, getting stuck when calling
QDBusConnection::connectTo() from the child process. Given that calling
fork() from a test function is generally not a good idea, we refactor
this test to avoid calling fork() directly, and use a separate QProcess
instead.

While doing this, we move the refactored test to the signond-tests
directory, since this test is not testing the client library at all, but
only signond's functionality.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: