init('WebServices/Tests/Suite'); $results = $suite->run(); $error = FALSE; foreach ($results as $result) { if (!$result['status']['success']) { echo "[ERROR] ".$result['name']." - ".$result['type']." - ".$result['status']['message'].PHP_EOL; $error = TRUE; } } exit ($error); ?>