[phc-internals] [phc] r3389 committed - Fix a CompilePluginTest test.

phc at googlecode.com phc at googlecode.com
Mon Oct 18 00:16:16 IST 2010


Revision: 3389
Author: paul.biggar
Date: Sun Oct 17 16:15:30 2010
Log: Fix a CompilePluginTest test.

http://code.google.com/p/phc/source/detail?r=3389

Modified:
  /trunk/test/expected_results/failure
  /trunk/test/expected_results/success
  /trunk/test/expected_results/timeout
  /trunk/test/framework/compile_plugin_test.php

=======================================
--- /trunk/test/expected_results/failure	Wed Oct 13 02:28:26 2010
+++ /trunk/test/expected_results/failure	Sun Oct 17 16:15:30 2010
@@ -130,7 +130,6 @@
  CompileOptimized: Failure test/subjects/parsing/reflect_ints.php - Outputs  
dont match PHP outputs
  CompileOptimized: Failure test/subjects/parsing/var_targets.php - Outputs  
dont match PHP outputs
  CompileOptimized: Failure test/subjects/reduced/0051.php - Outputs dont  
match PHP outputs
-CompilePluginTest: Failure  
/home/pbiggar/work/phc/svn/trunk/plugins/tools/reduce_statements.cpp - exit  
or err not clear
  CompiledVsInterpreted: Failure test/subjects/bugs/bug0008.php - Outputs  
dont match PHP outputs
  CompiledVsInterpreted: Failure test/subjects/bugs/bug0025.php - Outputs  
dont match PHP outputs
  CompiledVsInterpreted: Failure test/subjects/codegen/019c.php - Outputs  
dont match PHP outputs
@@ -198,6 +197,7 @@
  Demi_eval_false: Failure test/subjects/codegen/ignore_errors2.php -  
Outputs dont match PHP outputs
  Demi_eval_false: Failure test/subjects/codegen/include_once.php - Outputs  
dont match PHP outputs
  Demi_eval_false: Failure test/subjects/codegen/indexing_non_arrays.php -  
Outputs dont match PHP outputs
+Demi_eval_false: Failure test/subjects/codegen/loop_separation1.php -  
Outputs dont match PHP outputs
  Demi_eval_false: Failure test/subjects/codegen/loop_separation2.php -  
Outputs dont match PHP outputs
  Demi_eval_false: Failure test/subjects/codegen/object_exit.php - Outputs  
dont match PHP outputs
  Demi_eval_false: Failure test/subjects/codegen/oop_inheritance1.php -  
Outputs dont match PHP outputs
@@ -225,6 +225,8 @@
  Demi_eval_true: Failure test/subjects/codegen/indexing_non_arrays.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/inherited_array_field.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/isset_byte.php - Outputs  
dont match PHP outputs
+Demi_eval_true: Failure test/subjects/codegen/loop_separation1.php -  
Outputs dont match PHP outputs
+Demi_eval_true: Failure test/subjects/codegen/loop_separation2.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/non_existant_function.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/oop_inheritance1.php -  
Outputs dont match PHP outputs
  Demi_eval_true: Failure test/subjects/codegen/oop_method_def2.php -  
Outputs dont match PHP outputs
=======================================
--- /trunk/test/expected_results/success	Wed Oct 13 02:28:26 2010
+++ /trunk/test/expected_results/success	Sun Oct 17 16:15:30 2010
File is too large to display a diff.
=======================================
--- /trunk/test/expected_results/timeout	Wed Oct 13 02:28:26 2010
+++ /trunk/test/expected_results/timeout	Sun Oct 17 16:15:30 2010
@@ -183,6 +183,7 @@
  CompileOptimized: Timeout test/subjects/codegen/masquarading_int_keys.php
  CompileOptimized: Timeout test/subjects/codegen/odd_breaks.php
  CompileOptimized: Timeout test/subjects/codegen/switch_functions.php
+CompileOptimized: Timeout  
test/subjects/optimization/var_var_and_unknown.php
  CompileOptimized: Timeout test/subjects/parsing/foreach.php
  CompileOptimized: Timeout  
test/subjects/parsing/foreach_with_complex_key.php
  CompileOptimized: Timeout test/subjects/parsing/literal_test.php
=======================================
--- /trunk/test/framework/compile_plugin_test.php	Mon Oct 11 03:21:46 2010
+++ /trunk/test/framework/compile_plugin_test.php	Sun Oct 17 16:15:30 2010
@@ -87,7 +87,8 @@
  		// Check it runs under phc
  		$files = get_all_scripts ();
  		$filename = $files[0];
-		$async->commands[1] = "$phc --run $plugin_name.la $filename";
+		// --r-option is a special option for reduce_statements.la, which  
doesn't harm the other tests.
+		$async->commands[1] = "$phc --run $plugin_name.la $filename --r-option  
0:1";
  		$async->err_handlers[1] = "fail_on_output";
  		$async->exit_handlers[1] = "fail_on_output";



More information about the phc-internals mailing list