REOPENED25915
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
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
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 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.