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(); }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php