Changeset 150128 in webkit
- Timestamp:
- May 15, 2013 10:23:44 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r150113 r150128 1 2013-05-15 Peter Gal <galpeter@inf.u-szeged.hu> 2 3 Allow http tests on Arch Linux 4 https://bugs.webkit.org/show_bug.cgi?id=116155 5 6 Reviewed by Ryosuke Niwa. 7 8 * http/conf/archlinux-httpd.conf: Added. 9 1 10 2013-05-15 Zan Dobersek <zdobersek@igalia.com> 2 11 -
trunk/Tools/ChangeLog
r150126 r150128 1 2013-05-15 Peter Gal <galpeter@inf.u-szeged.hu> 2 3 Allow http tests on Arch Linux 4 https://bugs.webkit.org/show_bug.cgi?id=116155 5 6 Reviewed by Ryosuke Niwa. 7 8 * Scripts/webkitpy/port/base.py: 9 (Port._is_arch_based): Added check for /etc/arch-release file. 10 (Port._apache_config_file_name_for_platform): Call the check. 11 * Scripts/webkitpy/port/port_testcase.py: 12 (test_linux_distro_detection): Testcase added. 13 1 14 2013-05-15 Peter Gal <galpeter@inf.u-szeged.hu> 2 15 -
trunk/Tools/Scripts/webkitpy/port/base.py
r148996 r150128 1210 1210 return self._filesystem.exists('/etc/debian_version') 1211 1211 1212 def _is_arch_based(self): 1213 return self._filesystem.exists('/etc/arch-release') 1214 1212 1215 def _apache_version(self): 1213 1216 config = self._executive.run_command([self._path_to_apache(), '-v']) … … 1223 1226 if self._is_debian_based(): 1224 1227 return 'apache2-debian-httpd.conf' 1228 if self._is_arch_based(): 1229 return 'archlinux-httpd.conf' 1225 1230 # All platforms use apache2 except for CYGWIN (and Mac OS X Tiger and prior, which we no longer support). 1226 1231 return "apache2-httpd.conf" -
trunk/Tools/Scripts/webkitpy/port/port_testcase.py
r148996 r150128 556 556 self.assertTrue(port._is_debian_based()) 557 557 558 port._filesystem = MockFileSystem({'/etc/arch-release': ''}) 559 self.assertFalse(port._is_redhat_based()) 560 self.assertTrue(port._is_arch_based()) 561 558 562 def test_apache_config_file_name_for_platform(self): 559 563 port = TestWebKitPort()
Note: See TracChangeset
for help on using the changeset viewer.