tests: don't use width and height for drm/fbdev backend tests
authorLeandro Ribeiro <leandro.ribeiro@collabora.com>
Tue, 5 May 2020 19:09:03 +0000 (16:09 -0300)
committerPekka Paalanen <pq@iki.fi>
Tue, 2 Jun 2020 13:47:15 +0000 (13:47 +0000)
commite8033e3dd166449ef1a91941fe0d6f8a2e59da45
tree18d0cef3e7d96cf4dd296b8dea95770ca54d6520
parent2eda978e95aaa18516cfc007aa91c8901fa251c5
tests: don't use width and height for drm/fbdev backend tests

In the test suite we have some default options which
are command line arguments used by most of the tests.
Two of these are width==320 and height==240. But
when we have DRM or fbdev backends, width and height
are not possible command line arguments. This makes
impossible to run tests that uses one of these types
of backends, as the compositor won't open if the
command line string is wrong.

Fix this by not passing command line arguments width
and height if the backend is DRM or fbdev.

Signed-off-by: Leandro Ribeiro <leandro.ribeiro@collabora.com>
tests/weston-test-fixture-compositor.c