svn: php/phpruntests/trunk/src/testcase/ rtTestResults.php

From: Date: Mon, 20 Jul 2009 15:00:54 +0000
Subject: svn: php/phpruntests/trunk/src/testcase/ rtTestResults.php
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-59673@lists.php.net to get a copy of this message
g2 Mon, 20 Jul 2009 15:00:54 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=284442 Changed paths: U php/phpruntests/trunk/src/testcase/rtTestResults.php Log: minor bugfix - ensure to request skip-section only if it exists Modified: php/phpruntests/trunk/src/testcase/rtTestResults.php =================================================================== --- php/phpruntests/trunk/src/testcase/rtTestResults.php 2009-07-20 14:51:04 UTC (rev 284441) +++ php/phpruntests/trunk/src/testcase/rtTestResults.php 2009-07-20 15:00:54 UTC (rev 284442) @@ -134,7 +134,7 @@ { if ($runConfiguration->hasCommandLineOption('keep-all') || $runConfiguration->hasCommandLineOption('keep-skip')) { $this->savedFileNames['skipif'] = $this->testName. 'skipif.php'; - } else { + } else if($testCase->hasSection('SKIPIF')) { $skipSection = $testCase->getSection('SKIPIF'); $skipSection->deleteFile(); }

« previous php.cvs (#59673) next »