Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Issue 10653: Add Linux lighttpd for running LayoutTests on Linux. (Closed)

Created:
12 years, 1 month ago by Michael Moss
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Add Linux lighttpd for running LayoutTests on Linux. Updated to use system lighttpd and php-cgi. This is based on the Hardy packages and file layout. YMMV with other distros. BUG=4281

Patch Set 1 #

Patch Set 2 : ke Linux layout tests use system lighttpd and php-cgi. #

Patch Set 3 : Added friendly error-message #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -6 lines) Patch
M build/install-build-deps.sh View 1 chunk +1 line, -1 line 0 comments Download
M webkit/tools/layout_tests/layout_package/http_server.py View 1 chunk +3 lines, -2 lines 0 comments Download
M webkit/tools/layout_tests/layout_package/platform_utils_linux.py View 2 1 chunk +18 lines, -3 lines 1 comment Download

Messages

Total messages: 17 (0 generated)
Michael Moss
12 years, 1 month ago (2008-11-12 20:56:38 UTC) #1
dank
Checking in binaries is worse on Linux than on Mac or Windows because Linux is ...
12 years, 1 month ago (2008-11-12 21:19:46 UTC) #2
tony
Alternately, can we just apt-get the package? On 2008/11/12 21:19:46, dank wrote: > Checking in ...
12 years, 1 month ago (2008-11-12 21:33:19 UTC) #3
Michael Moss
I'll try to rework this to build with scons. If anybody needs Linux LayoutTests sooner, ...
12 years, 1 month ago (2008-11-13 18:09:59 UTC) #4
Michael Moss
I'd like to submit these binaries so people can start working on Linux layout tests ...
12 years, 1 month ago (2008-11-17 18:17:04 UTC) #5
tony
lighttpd isn't required for running the layout tests, it's only required for running the http ...
12 years, 1 month ago (2008-11-17 19:18:55 UTC) #6
Michael Moss
On 2008/11/17 19:18:55, tony wrote: > lighttpd isn't required for running the layout tests, it's ...
12 years, 1 month ago (2008-11-17 19:39:31 UTC) #7
tony
On 2008/11/17 19:39:31, mmoss wrote: > Yes, of course. I should have specified "all layout ...
12 years, 1 month ago (2008-11-17 20:21:19 UTC) #8
Michael Moss
I'm going to take a closer look at using system packages. Pink indicated it could ...
12 years, 1 month ago (2008-11-17 23:50:57 UTC) #9
Evan Martin
I'd be pretty surprised if hardy didn't support PHP out of the box. In my ...
12 years, 1 month ago (2008-11-18 00:07:29 UTC) #10
tony
You need to checkout the LayoutTests from svn.webkit.org. I see 35 files in webkit/data/layout_tests/LayoutTests/http that ...
12 years, 1 month ago (2008-11-18 00:13:43 UTC) #11
Michael Moss
Updated to use system binaries. This seems to work OK with a sample of http ...
12 years, 1 month ago (2008-11-18 00:36:27 UTC) #12
Evan Martin
Nice! LGTM
12 years, 1 month ago (2008-11-18 00:39:40 UTC) #13
Evan Martin
Oh, and please update the build instructions too: http://code.google.com/p/chromium/wiki/LinuxBuildInstructions
12 years, 1 month ago (2008-11-18 00:40:07 UTC) #14
tony
LGTM2. It would be nice if we gave a nice error message if /usr/sbin/lighttpd didn't ...
12 years, 1 month ago (2008-11-18 06:38:09 UTC) #15
Michael Moss
Added friendly error message. Not sure if we like sys.exit(), but raising an exception makes ...
12 years, 1 month ago (2008-11-18 20:31:25 UTC) #16
tony
12 years, 1 month ago (2008-11-18 20:49:25 UTC) #17
LGTM

http://codereview.chromium.org/10653/diff/607/413
File webkit/tools/layout_tests/layout_package/platform_utils_linux.py (right):

http://codereview.chromium.org/10653/diff/607/413#newcode100
Line 100: print 'Please install lighttpd/php using "sudo apt-get install
lighttpd php5cgi"'
Nit: 80 col (see two others below).

Powered by Google App Engine
This is Rietveld 408576698