[phc-internals] [phc commit] r1178 - trunk/test/framework/lib

codesite-noreply at google.com codesite-noreply at google.com
Wed Apr 16 12:45:46 IST 2008


Author: paul.biggar
Date: Wed Apr 16 04:45:05 2008
New Revision: 1178

Modified:
   trunk/test/framework/lib/test.php

Log:
In the case of warnings and errors, it is best to isolate them within a 
test, and not to have them pop up in other tests. This is purely 
because of how I've structured the tests, and may not be the best 
solution otherwise. As a result, if an error/warning annotation is 
provided, mark them as failing the dependency so that tests arent 
re-run in later test phases. This makes warnings be treated more like 
errors in this regard, but doesnt affect run-time warnings/errors.


Modified: trunk/test/framework/lib/test.php
==============================================================================
--- trunk/test/framework/lib/test.php	(original)
+++ trunk/test/framework/lib/test.php	Wed Apr 16 04:45:05 2008
@@ -16,7 +16,7 @@
 		$this->skipped = 0;
 		$this->timeouts = 0;
 		$this->total = 0;
-		$this->expected_failure_count = 0;
+		$this->solo_tests = 0;
 		$this->timers = array();
 		$this->missing_dependencies = array ();
 	}


More information about the phc-internals mailing list