Open
Description
The run-tests.php
always uses the php
interpreter that is on the $PATH
. Using TEST_PHP_EXECUTABLE=/path/to/php
does not override the PHP interpreter used.
PHP 7's php
not on the $PATH
, using TEST_PHP_EXECUTABLE
$ TEST_PHP_EXECUTABLE=/usr/local/php-7.0/bin/php /usr/local/php-7.0/bin/php run-tests.php
TIME START 2015-07-11 15:49:57
=====================================================================
FAIL Hello World [tests/0001_hello_world.phpt]
FAIL Dangling variable [tests/0002_dangling_var.phpt]
FAIL Return type [tests/0003_return_type.phpt]
FAIL Argument count [tests/0004_number_of_args.phpt]
FAIL Argument types [tests/0005_arg_types.phpt]
FAIL Typed static call [tests/0006_var_combo.phpt]
FAIL Self call [tests/0007_self_call.phpt]
FAIL Parent call [tests/0008_parent_call.phpt]
FAIL Method call [tests/0009_method_call.phpt]
FAIL $this method call [tests/0010_this_method_call.phpt]
FAIL Internal function arg [tests/0011_internal_arg.p
731A
hpt]
FAIL Redefined interface, trait and class [tests/0012_redef_interface_class.phpt]
FAIL Alternate signature [tests/0013_alternate_signature.phpt]
FAIL Varargs internal [tests/0014_varargs_internal.phpt]
FAIL Variadic call [tests/0015_variadic_call.phpt]
FAIL Trait call [tests/0016_trait_call.phpt]
FAIL Tainted output [tests/0017_taint.phpt]
FAIL Return type with passed var [tests/0018_return_var.phpt]
FAIL Static var [tests/0019_static_var.phpt]
FAIL Global var [tests/0020_global_var.phpt]
FAIL foreach with list [tests/0021_foreach.phpt]
FAIL Reference parameters [tests/0022_ref_params.phpt]
FAIL docComment [tests/0023_doc_comment.phpt]
FAIL $GLOBALS assignment [tests/0024_GLOBALS.phpt]
FAIL Catch block [tests/0025_catch.phpt]
FAIL Closure [tests/0026_closure.phpt]
FAIL Void [tests/0027_void.phpt]
FAIL Constructor type check [tests/0028_construct.phpt]
FAIL Internal method type check [tests/0029_internal_method.phpt]
FAIL Default arg types [tests/0030_def_arg_type.phpt]
FAIL Property access and type tracking [tests/0031_prop.phpt]
FAIL Namespace aliased class access [tests/0032_ns_alias.phpt]
FAIL Generics [tests/0034_generics.phpt]
FAIL Class constants [tests/0035_class_const.phpt]
=====================================================================
TIME END 2015-07-11 15:49:57
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Number of tests : 34 34
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 34 (100.0%) (100.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 0 ( 0.0%) ( 0.0%)
---------------------------------------------------------------------
Time taken : 0 seconds
=====================================================================
=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Hello World [tests/0001_hello_world.phpt]
Dangling variable [tests/0002_dangling_var.phpt]
Return type [tests/0003_return_type.phpt]
Argument count [tests/0004_number_of_args.phpt]
Argument types [tests/0005_arg_types.phpt]
Typed static call [tests/0006_var_combo.phpt]
Self call [tests/0007_self_call.phpt]
Parent call [tests/0008_parent_call.phpt]
Method call [tests/0009_method_call.phpt]
$this method call [tests/0010_this_method_call.phpt]
Internal function arg [tests/0011_internal_arg.phpt]
Redefined interface, trait and class [tests/0012_redef_interface_class.phpt]
Alternate signature [tests/0013_alternate_signature.phpt]
Varargs internal [tests/0014_varargs_internal.phpt]
Variadic call [tests/0015_variadic_call.phpt]
Trait call [tests/0016_trait_call.phpt]
Tainted output [tests/0017_taint.phpt]
Return type with passed var [tests/0018_return_var.phpt]
Static var [tests/0019_static_var.phpt]
Global var [tests/0020_global_var.phpt]
foreach with list [tests/0021_foreach.phpt]
Reference parameters [tests/0022_ref_params.phpt]
docComment [tests/0023_doc_comment.phpt]
$GLOBALS assignment [tests/0024_GLOBALS.phpt]
Catch block [tests/0025_catch.phpt]
Closure [tests/0026_closure.phpt]
Void [tests/0027_void.phpt]
Constructor type check [tests/0028_construct.phpt]
Internal method type check [tests/0029_internal_method.phpt]
Default arg types [tests/0030_def_arg_type.phpt]
Property access and type tracking [tests/0031_prop.phpt]
Namespace aliased class access [tests/0032_ns_alias.phpt]
Generics [tests/0034_generics.phpt]
Class constants [tests/0035_class_const.phpt]
=====================================================================
PHP 7's php
on the $PATH
$ export PATH=/usr/local/php-7.0/bin:$PATH
$ ./run-tests.php
TIME START 2015-07-11 15:45:33
=====================================================================
PASS Hello World [tests/0001_hello_world.phpt]
PASS Dangling variable [tests/0002_dangling_var.phpt]
PASS Return type [tests/0003_return_type.phpt]
PASS Argument count [tests/0004_number_of_args.phpt]
PASS Argument types [tests/0005_arg_types.phpt]
PASS Typed static call [tests/0006_var_combo.phpt]
PASS Self call [tests/0007_self_call.phpt]
PASS Parent call [tests/0008_parent_call.phpt]
PASS Method call [tests/0009_method_call.phpt]
PASS $this method call [tests/0010_this_method_call.phpt]
PASS Internal function arg [tests/0011_internal_arg.phpt]
PASS Redefined interface, trait and class [tests/0012_redef_interface_class.phpt]
PASS Alternate signature [tests/0013_alternate_signature.phpt]
PASS Varargs internal [tests/0014_varargs_internal.phpt]
PASS Variadic call [tests/0015_variadic_call.phpt]
PASS Trait call [tests/0016_trait_call.phpt]
PASS Tainted output [tests/0017_taint.phpt]
PASS Return type with passed var [tests/0018_return_var.phpt]
PASS Static var [tests/0019_static_var.phpt]
PASS Global var [tests/0020_global_var.phpt]
PASS foreach with list [tests/0021_foreach.phpt]
PASS Reference parameters [tests/0022_ref_params.phpt]
PASS docComment [tests/0023_doc_comment.phpt]
PASS $GLOBALS assignment [tests/0024_GLOBALS.phpt]
PASS Catch block [tests/0025_catch.phpt]
PASS Closure [tests/0026_closure.phpt]
PASS Void [tests/0027_void.phpt]
PASS Constructor type check [tests/0028_construct.phpt]
PASS Internal method type check [tests/0029_internal_method.phpt]
PASS Default arg types [tests/0030_def_arg_type.phpt]
PASS Property access and type tracking [tests/0031_prop.phpt]
PASS Namespace aliased class access [tests/0032_ns_alias.phpt]
PASS Generics [tests/0034_generics.phpt]
PASS Class constants [tests/0035_class_const.phpt]
=====================================================================
TIME END 2015-07-11 15:45:38
=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Number of tests : 34 34
Tests skipped : 0 ( 0.0%) --------
Tests warned : 0 ( 0.0%) ( 0.0%)
Tests failed : 0 ( 0.0%) ( 0.0%)
Expected fail : 0 ( 0.0%) ( 0.0%)
Tests passed : 34 (100.0%) (100.0%)
---------------------------------------------------------------------
Time taken : 5 seconds
=====================================================================
Metadata
Metadata
Assignees
Labels
No labels