Keep track of global success or failure and print out a summary success or failure when the

tests are complete. Makes it less likely that a test failure will be missed.
This commit is contained in:
Chris Morgan
2007-03-31 17:12:55 +00:00
committed by WineHQ
parent c494af3eb5
commit e2b15c0566
11 changed files with 136 additions and 25 deletions

View File

@@ -149,8 +149,12 @@ function test_object_methods()
}
if(!test_object_methods())
{
echo "test_object_methods() failed!\n";
else
$bTestSuccess = false;
} else
{
echo "test_object_methods() passed\n";
}
?>