Closed (fixed)
Project:
Simpletest automation
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2006 at 18:30 UTC
Updated:
14 Aug 2006 at 23:09 UTC
I found out that when calling run_tests like this php /var/www/html/sites/test1.example.com/modules/simpletestauto/run_tests.php the drupal does not know to which site this script belongs so it cannot tell which modules and which settings it must use so this will work.
One way would be wget -O - http://test1.example.com/sites/test1.example.com/modules/simpletestauto/run_tests.php this works but it looks like it can be done differently.
Is there maybe another way of doing this?
Comments
Comment #1
Thomas Ilsche commentedWget is probably the only way, cron also uses it this.
Comment #2
Rok Žlender commentedMoved functionality from run_tests to cron hook.