Development

Changeset 2604

You must first sign up to be able to contribute.

Changeset 2604

Show
Ignore:
Timestamp:
11/02/06 14:24:45 (2 years ago)
Author:
fabien
Message:

lime: added an exception when the test file does not exit normally in coverage

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tools/lime/lib/lime.php

    r2464 r2604  
    570570      if (0 == $return) 
    571571      { 
    572         $cov = unserialize($retval); 
     572        if (false === $cov = unserialize($retval)) 
     573        { 
     574          throw new Exception(sprintf('Unable to unserialize coverage for file "%s"', $file)); 
     575        } 
     576 
    573577        foreach ($cov as $file => $lines) 
    574578        {