~cyphermox/+junk/test-cross-compile

« back to all changes in this revision

Viewing changes to include/test/mir_test/stub_server_tool.h

  • Committer: Tarmac
  • Author(s): Kevin DuBois
  • Date: 2013-10-17 01:10:31 UTC
  • mfrom: (1131.1.8 fix-1239577)
  • Revision ID: tarmac-20131017011031-1negdrzfkgtbhea1
fix: lp 1239577

TestClientIPCRender (an android-only gfx driver test) was hanging due to changes in signal handling. refactor the test, changing the cross-process sync mechanism so it doesn't use sigcont. Fixes: https://bugs.launchpad.net/bugs/1239577.

Approved by PS Jenkins bot, Daniel van Vugt.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
    virtual void connect(
81
81
        ::google::protobuf::RpcController*,
82
82
                         const ::mir::protobuf::ConnectParameters* request,
83
 
                         ::mir::protobuf::Connection*,
 
83
                         ::mir::protobuf::Connection* connect_msg,
84
84
                         ::google::protobuf::Closure* done) override
85
85
    {
86
86
        app_name = request->application_name();
 
87
        connect_msg->set_error("");
87
88
        done->Run();
88
89
    }
89
90