@@ -27,7 +27,10 @@ import ubuntuuitoolkit
27from autopilot import introspection
27from autopilot import introspection
28from autopilot.matchers import Eventually
28from autopilot.matchers import Eventually
29from testtools.matchers import Equals
29from testtools.matchers import Equals
30−from ubuntuuitoolkit import fixture_setup
30+from ubuntuuitoolkit import (
32from unity8 import (
35from unity8 import (
33 get_binary_path,
36 get_binary_path,
@@ -69,6 +72,12 @@ class LaunchUnityWithFakeSensors(fixtures.Fixture):
69 UBUNTU_PLATFORM_API_TEST_OVERRIDE='sensors'))
72 UBUNTU_PLATFORM_API_TEST_OVERRIDE='sensors'))
71 self.addCleanup(process_helpers.stop_job, 'unity8')
74 self.addCleanup(process_helpers.stop_job, 'unity8')
76+ # FIXME: because of LP #1444937 unity8 can crash too easily
77+ # when the QML-cache gets stale, thus temporarily disable it
79+ environment.unset_initctl_env_var('QV4_ENABLE_JIT_CACHE', global_=True)
72 restart_thread = threading.Thread(
81 restart_thread = threading.Thread(
73 target=self._restart_unity_with_testability)
82 target=self._restart_unity_with_testability)
74 restart_thread.start()
83 restart_thread.start()