WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
REOPENED
25915
Not possible to use js-only tests from the http directory
https://bugs.webkit.org/show_bug.cgi?id=25915
Summary
Not possible to use js-only tests from the http directory
Eric Seidel (no email)
Reported
2009-05-21 01:04:47 PDT
Not possible to use js-only tests from the http directory You can't get at the js test support files in fast/js/resources from an http test. The attached patch adds this ability. (Which I'm about to use in another patch!)
Attachments
Make it possible to write js-only http tests by exposing a /js-test-resources alias.
(2.60 KB, patch)
2009-05-21 01:05 PDT
,
Eric Seidel (no email)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Eric Seidel (no email)
Comment 1
2009-05-21 01:05:32 PDT
Created
attachment 30525
[details]
Make it possible to write js-only http tests by exposing a /js-test-resources alias. 3 files changed, 16 insertions(+), 0 deletions(-)
Geoffrey Garen
Comment 2
2009-05-21 12:17:46 PDT
Comment on
attachment 30525
[details]
Make it possible to write js-only http tests by exposing a /js-test-resources alias. r=me
Geoffrey Garen
Comment 3
2009-05-21 12:25:26 PDT
http://trac.webkit.org/changeset/43975
Darin Adler
Comment 4
2009-05-21 13:30:39 PDT
Comment on
attachment 30525
[details]
Make it possible to write js-only http tests by exposing a /js-test-resources alias. Started seeing failures on the bots, presumably due to Apache version.
Darin Adler
Comment 5
2009-05-21 13:31:00 PDT
Reopening the bug since I had to roll out the change.
Eric Seidel (no email)
Comment 6
2009-05-21 18:15:08 PDT
The question is if mod_alias (a default included module) is loaded or not. I'll update the httpd.configs as well. A link to the failing tests would have helped. ;)
Eric Seidel (no email)
Comment 7
2009-05-21 18:17:12 PDT
mod_alias appears to be enabled in all configurations. I need to see the failure logs... /me goes digging.
Eric Seidel (no email)
Comment 8
2009-05-21 18:19:26 PDT
Tiger: http/tests/appcache .Syntax error in -C/-c directive: Invalid command 'Alias', perhaps mis-spelled or defined by a module not included in the server configuration Timed out waiting for httpd to start at ./WebKitTools/Scripts/run-webkit-tests line 1420. Windows: http/tests/cookies .Syntax error in -C/-c directive: Invalid command 'Alias', perhaps mis-spelled or defined by a module not included in the server configuration Timed out waiting for httpd to start at ./WebKitTools/Scripts/run-webkit-tests line 1420, <IN> line 36257.
Eric Seidel (no email)
Comment 9
2009-05-21 18:20:00 PDT
Those logs were taken from:
http://build.webkit.org/builders/Tiger%20Intel%20Release/builds/1261/steps/layout-test/logs/stdio
http://build.webkit.org/builders/Windows%20Release%20%28Tests%29/builds/1081/steps/layout-test/logs/stdio
http://build.webkit.org/builders/Windows%20Debug%20%28Tests%29/builds/1204/steps/layout-test/logs/stdio
Eric Seidel (no email)
Comment 10
2009-05-21 18:22:14 PDT
Oh. It just needs to be -c instead of -C: -C directive Process the configuration directive before reading config files. -c directive Process the configuration directive after reading config files.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug