on xenial help sign in
Revert changes from r1618 since the qml-cache-related issue can't be reproduced on other setups.
7f29f8aMirco Müller
tests/autopilot/unity8/fixture_setup.py+1−10
@@ -27,10 +27,7 @@ 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 (
30+from ubuntuuitoolkit import fixture_setup
31− fixture_setup,
32− environment
33−)
34
31
35from unity8 import (
32from unity8 import (
36 get_binary_path,
33 get_binary_path,
@@ -72,12 +69,6 @@ class LaunchUnityWithFakeSensors(fixtures.Fixture):
72 UBUNTU_PLATFORM_API_TEST_OVERRIDE='sensors'))
69 UBUNTU_PLATFORM_API_TEST_OVERRIDE='sensors'))
73
70
74 self.addCleanup(process_helpers.stop_job, 'unity8')
71 self.addCleanup(process_helpers.stop_job, 'unity8')
75−
76− # FIXME: because of LP #1444937 unity8 can crash too easily
77− # when the QML-cache gets stale, thus temporarily disable it
78− # for the test-runs
79− environment.unset_initctl_env_var('QV4_ENABLE_JIT_CACHE', global_=True)
80−
81 restart_thread = threading.Thread(
72 restart_thread = threading.Thread(
82 target=self._restart_unity_with_testability)
73 target=self._restart_unity_with_testability)
83 restart_thread.start()
74 restart_thread.start()