https://bugs.webkit.org/show_bug.cgi?id=150859
Reviewed by Daniel Bates.
For iOS run-webkit-tests, use LayoutTestRelay specified by --root; otherwise find
LayoutTestRelay in the Mac build directory when --root is unspecified.
* Scripts/webkitpy/port/ios.py:
(IOSSimulatorPort.relay_path):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@191995
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2015-11-03 Jason Marcell <jmarcell@apple.com>
+
+ run-webkit-test should look in --root directory for LayoutTestRelay
+ https://bugs.webkit.org/show_bug.cgi?id=150859
+
+ Reviewed by Daniel Bates.
+
+ For iOS run-webkit-tests, use LayoutTestRelay specified by --root; otherwise find
+ LayoutTestRelay in the Mac build directory when --root is unspecified.
+
+ * Scripts/webkitpy/port/ios.py:
+ (IOSSimulatorPort.relay_path):
+
2015-11-03 Alexey Proskuryakov <ap@apple.com>
build.webkit.org/dashboard should use ISO dates in Trac URLs
@property
@memoized
def relay_path(self):
- mac_config = port_config.Config(self._executive, self._filesystem, 'mac')
- return self._filesystem.join(mac_config.build_directory(self.get_option('configuration')), self.relay_name)
+ if self._root_was_set:
+ path = self._filesystem.abspath(self.get_option('root'))
+ else:
+ mac_config = port_config.Config(self._executive, self._filesystem, 'mac')
+ path = mac_config.build_directory(self.get_option('configuration'))
+ return self._filesystem.join(path, self.relay_name)
def default_timeout_ms(self):
if self.get_option('guard_malloc'):