Bug 25915 - Not possible to use js-only tests from the http directory
Summary: Not possible to use js-only tests from the http directory
Status: REOPENED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 25907 25916
  Show dependency treegraph
 
Reported: 2009-05-21 01:04 PDT by Eric Seidel (no email)
Modified: 2010-06-10 17:17 PDT (History)
3 users (show)

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
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.