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:
@@ -44,8 +44,12 @@ function test_appData_listSubmittedBy()
|
||||
}
|
||||
|
||||
if(!test_appData_listSubmittedBy())
|
||||
{
|
||||
echo "test_appData_listSubmittedBy() failed!\n";
|
||||
else
|
||||
$bTestSuccess = false;
|
||||
} else
|
||||
{
|
||||
echo "test_appData_listSubmittedBy() passed\n";
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user