~ci-train-bot/compiz/compiz-ubuntu-xenial-2841

Viewing all changes in revision 3494.5.5.

  • Committer: Sam Spilsbury
  • Date: 2012-12-03 09:40:19 UTC
  • mto: This revision was merged to the branch mainline in revision 3504.
  • Revision ID: sam.spilsbury@canonical.com-20121203094019-pgemy67gu7fmdovy
Fix race conditions in the tests.

1. Have compiz send a dedicated startup message so that we don't race 
it to check that a PropertyNotify was sent before it grabs the server
(since the grab position changed)
2. Fix event advancing semantics in the tests - only go to the next event
either if a) the user asked for it or b) the event didn't match
what the user wanted. Advancing even when it did match messes up
the case where matcher chain on each other

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: