Ticket #194: phing-2.diff

File phing-2.diff, 680 bytes (added by cweiske@…, 4 years ago)

diff for phpunittestrunner.php

  • PHPUnitTestRunner.php

    old new  
    3535{ 
    3636        const SUCCESS = 0; 
    3737        const FAILURES = 1; 
    38         const ERRORS = 2; 
     38        const ERRORS = 2; 
     39        const INCOMPLETES = 3; 
    3940 
    4041        private $test = NULL; 
    4142        private $suite = NULL; 
     
    117118                        $this->retCode = self::ERRORS; 
    118119                } 
    119120 
    120                 else if ($res->failureCount() != 0 || $res->notImplementedCount() != 0 || $res->skippedCount() != 0) 
     121                else if ($res->failureCount() != 0) 
    121122                { 
    122123                        $this->retCode = self::FAILURES; 
     124                } 
     125                 
     126                else if ($res->skippedCount() != 0) 
     127                { 
     128                    $this->retCode = self::INCOMPLETES; 
    123129                } 
    124130        } 
    125131