Re: [PATCH 2/3] tests: remove assert from frame_callback_wait()

2014-07-09 Thread Marek Chalupa
On 7 July 2014 17:22, Pekka Paalanen wrote: > On Mon, 26 May 2014 16:58:06 +0200 > Marek Chalupa wrote: > > > This function did dispatching wrapped in assert so when an error came, > > the test was aborted. Now, with expect_protocol_error, we need > > this function to abort only when we are not

Re: [PATCH 2/3] tests: remove assert from frame_callback_wait()

2014-07-07 Thread Pekka Paalanen
On Mon, 26 May 2014 16:58:06 +0200 Marek Chalupa wrote: > This function did dispatching wrapped in assert so when an error came, > the test was aborted. Now, with expect_protocol_error, we need > this function to abort only when we are not calling expect_protocol_error > afterwards. So instead of

[PATCH 2/3] tests: remove assert from frame_callback_wait()

2014-05-26 Thread Marek Chalupa
This function did dispatching wrapped in assert so when an error came, the test was aborted. Now, with expect_protocol_error, we need this function to abort only when we are not calling expect_protocol_error afterwards. So instead of calling the assert inside of this function, wrap this function in