on xenial help sign in
remove autopilot import path settings. they should be found by the binary itself now
commit3623bf72fe45a6bb6d6c32a0f73aa9e6de61e091 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 28 Jun 2013, 13:22 (13 years ago) parentad5368c
1 file changed+1−3
tests/autopilot/unity8/tests/__init__.py+1−3
tests/autopilot/unity8/tests/__init__.py+1−3
@@ -39,8 +39,7 @@ class ShellTestCase(AutopilotTestCase):
3939 self.launch_test_local(geometry)
4040
4141 def launch_test_local(self, geometry):
42− os.environ['LD_LIBRARY_PATH'] = "../../../unity_build/build/lib:../../builddir/tests/mocks/LightDM/" + self.lightdm_mock
43− os.environ['QML2_IMPORT_PATH'] = "../../builddir/tests/mocks:../../builddir/plugins"
42+ os.environ['LD_LIBRARY_PATH'] = "../../builddir/tests/mocks/LightDM/" + self.lightdm_mock
4443 if geometry != "0x0":
4544 self.app = self.launch_test_application(
4645 "../../builddir/unity8", "-geometry", geometry, "-frameless", app_type='qt')
@@ -50,7 +49,6 @@ class ShellTestCase(AutopilotTestCase):
5049
5150 def launch_test_installed(self, geometry):
5251 os.environ['LD_LIBRARY_PATH'] = "/usr/share/unity8/plugins/mocks/LightDM/" + self.lightdm_mock
53− os.environ['QML2_IMPORT_PATH'] = "/usr/share/unity8/plugins/mocks:/usr/share/unity8/plugins"
5452 if model() == 'Desktop' and geometry != "0x0":
5553 self.app = self.launch_test_application(
5654 "unity8", "-geometry", geometry, "-frameless", app_type='qt')