Commit 9ee43fd7 authored by webchick's avatar webchick

Issue #2190707 by sun: PIFR results are verbose since global to conversion.

parent e0f774b3
......@@ -89,7 +89,7 @@ abstract class TestBase {
*
* @var boolean
*/
public $verbose = FALSE;
public $verbose;
/**
* Incrementing identifier for verbose output filenames.
......@@ -724,7 +724,11 @@ public function run(array $methods = array()) {
$simpletest_config = \Drupal::config('simpletest.settings');
$class = get_class($this);
if ($this->verbose || $simpletest_config->get('verbose')) {
// Unless preset from run-tests.sh, retrieve the current verbose setting.
if (!isset($this->verbose)) {
$this->verbose = $simpletest_config->get('verbose');
}
if ($this->verbose) {
// Initialize verbose debugging.
$this->verbose = TRUE;
$this->verboseDirectory = PublicStream::basePath() . '/simpletest/verbose';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment