lp:~compiz-team/compiz/compiz.fix_python_tests_failing_in_chroots

Created by Sam Spilsbury and last modified
Get this branch:
bzr branch lp:~compiz-team/compiz/compiz.fix_python_tests_failing_in_chroots
Members of Compiz Maintainers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Compiz Maintainers
Project:
Compiz
Status:
Development

Recent revisions

3295. By Sam Spilsbury

Be more pythonic

3294. By Sam Spilsbury

Fix some problems with python tests failing in chroots

1) Don't allow duplicate symbols
2) Set environment variables properly so that we always use the ini backend
3) Always use the specified testing config file for compizconfig

3293. By Daniel van Vugt

Fixed CompTimerTestCallback.TimerOrder failure on slow systems (like valgrind)
(LP: #1021139)

If the environment (like valgrind in ExperimentalMemCheck) is so slow that it
took more than 50ms to schedule the tests, then they would all be overdue
on startup (instead of just one of them) and the order would not be
predictable. So I spread the timers out over longer intervals and reduced
the number of repetitions to stop the new test from taking too long.. Fixes: https://bugs.launchpad.net/bugs/1021139. Approved by jenkins, Sam Spilsbury.

3292. By Daniel van Vugt

Remove pointless code from test-timer-callbacks.cpp. Fixes: . Approved by Tim Penhey, jenkins.

3291. By Daniel van Vugt

Avoid random build failures "_intltool_update-NOTFOUND: not found"
by verifying intltool-update exists. If not, then fail cmake more cleanly
with a nice error message telling the user how to install it.
(LP: #1023742)

The truly weird part is that I've been building compiz successfully for a
long time without intltool-update installed. However we have some broken
cmake dependencies somewhere which *sometimes* make that a problem (like
with make -j2), but mostly not a problem (like make -j1).
. Fixes: https://bugs.launchpad.net/bugs/1023742. Approved by Sam Spilsbury, jenkins.

3290. By Sam Spilsbury

Generate the CTestFile.cmake using cmake itself (LP: #1024214)

It was possible on a cmake run that enable_testing () would cause
CTestFile.cmake in a subdirectory to be overwritten and tests would
disappear from ctest as the file was not regenerated (as the rule
was not rebuilt). Force regeneration of this file every time cmake
is run.. Fixes: . Approved by Daniel van Vugt.

3289. By Daniel van Vugt

Fix build failure due to invalid sed expression that would be generated
by shell expansion of ";;" to " ". (LP: #1023738). Fixes: https://bugs.launchpad.net/bugs/1023738. Approved by Sam Spilsbury.

3288. By Daniel van Vugt

Avoid severe artifacts and flickering when using LLVMpipe (LP: #1021104). Fixes: https://bugs.launchpad.net/bugs/1021104. Approved by Sam Spilsbury.

3287. By Łukasz Zemczak

Added .convert files (for gsettings-data-convert) and a migration python script (best for usage with session-migrations) for migrating some compiz settings from gconf to gsettings.. Fixes: . Approved by Daniel van Vugt.

3286. By Daniel van Vugt

Fix crash LP: #1019337 properly this time.

The original fix did not handle the case where:
    (win != NULL && xid != None && !valid_window(xid))
so would still exit with an X error.

Now we trap and handle such errors gracefully, instead of hitting the
default handler which kills gtk-window-decorator.. Fixes: https://bugs.launchpad.net/bugs/1019337. Approved by Łukasz Zemczak, jenkins.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:compiz/0.9.8
This branch contains Public information 
Everyone can see this information.