[PATCH 3/3 v8] tests: Add a test for global filter

Pekka Paalanen ppaalanen at gmail.com
Wed Jan 25 10:23:46 UTC 2017


On Tue, 24 Jan 2017 16:54:04 +0100
Olivier Fourdan <ofourdan at redhat.com> wrote:

> Test if the global filter is effectively filtering out the global when
> the filter returns false.
> 
> Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
> ---
>  v3: split out as its own commit
>  v4: Follow up on Jonas' comments:
>      assert(hi.has_data_offer == false) instead of assert(hi.has_data_offer
>      != true)
>      Add a test for an illegal bind (bind on hidden global)
>  v5: Rework both tests
>      Use a shared memory to retrieve the hidden interface name and try
>      to bind to that name once it's filtrered out
>  v6: Remove some leftover from previous iterations
>  v7: Rebase against current git master, remove empty line at the end of
>      patch
>  v8: Remove the while()/test_usleep() after the display_run()
>      Check the name returns is 2 (hardcoded value)
> 
>  tests/display-test.c | 140 +++++++++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 140 insertions(+)

Hi,

very good, still fine post-alpha, so pushed:
   ad4f048..23d8bc5  master -> master

Unfortunately I forgot to add my Reviewed-by before pushing. >_<


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170125/48c68364/attachment.sig>


More information about the wayland-devel mailing list