tests: Force X synchronization so the stage size is reliable
authorRobert Bragg <robert@linux.intel.com>
Wed, 7 Jul 2010 12:38:10 +0000 (13:38 +0100)
committerRobert Bragg <robert@linux.intel.com>
Wed, 7 Jul 2010 13:07:22 +0000 (14:07 +0100)
commit551945ce6cc1438eec0b304cb9dc0a1b730bdb7e
tree8b9135a46fbe714ed302b76ab0d2c145002c9a84
parentb24c96189df25df19a164cd477ea634cf41b45d9
tests: Force X synchronization so the stage size is reliable

Normally the asynchronous nature of X means that setting the clutter
stage size may really happen an indefinite amount of time later but
since the tests are so short lived and may only render a single frame
this is not an acceptable semantic.

This way we should be able to remove all the hacky sleeps and frame
count delays from our tests.
tests/conform/test-conform-common.c