Bug 25915

Summary: Not possible to use js-only tests from the http directory
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: Tools / TestsAssignee: Nobody <webkit-unassigned>
Status: REOPENED ---    
Severity: Normal CC: darin, ggaren, mrowe
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Bug Depends on:    
Bug Blocks: 25907, 25916    
Attachments:
Description Flags
Make it possible to write js-only http tests by exposing a /js-test-resources alias. none

Description Eric Seidel (no email) 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!)
Comment 1 Eric Seidel (no email) 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(-)
Comment 2 Geoffrey Garen 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
Comment 3 Geoffrey Garen 2009-05-21 12:25:26 PDT
http://trac.webkit.org/changeset/43975
Comment 4 Darin Adler 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.
Comment 5 Darin Adler 2009-05-21 13:31:00 PDT
Reopening the bug since I had to roll out the change.
Comment 6 Eric Seidel (no email) 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. ;)
Comment 7 Eric Seidel (no email) 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.
Comment 8 Eric Seidel (no email) 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.
Comment 10 Eric Seidel (no email) 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.