Closed (outdated)
Project:
SimpleTest
Version:
6.x-2.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2011 at 01:42 UTC
Updated:
11 Nov 2019 at 15:29 UTC
Jump to comment: Most recent
howdy!
if i try to run php run-tests.sh --clean it demands
ERROR: Unable to automatically determine the path to the PHP interpreter. Please supply the --php command line argument.
.
if i run php run-tests.sh --php /usr/bin/php --clean it works great!
if i run php run-tests.sh --php /usr/bin/php --file sites/all/modules/example/example.test i get the same error as before. it doesn't seem to matter where i place the --php parameter, or whether i'm using --file or --class.
Comments
Comment #1
daffie commentedI am also unable to run run-tests.sh.
If I run php run-tests.sh --php /usr/bin/php --clean
I am using ubuntu 11.10
Comment #2
salvisbootstrap.inc is in /var/www/includes. Have you tried to run run-tests.sh from the directory three levels higher by specifying the path to it?
Comment #3
daffie commentedI solved my problem. I did not copy run-tests.sh to the scripts directory.
Comment #4
chipway commentedHi,
i think that it works better from site root directory.
On Ubuntu 11.10, you may use :
/usr/bin/php scripts/run-tests.sh --list --php /usr/bin/php
this should display the list of all test groups, so you know it works.
Comment #5
twistor commentedTry specifying the --url parameter.
Comment #6
lendudeThis version is not supported anymore.