Ejemplo n.º 1
0
 function exitWithCode()
 {
     TestEnv::removeBackupConfig();
     if ($this->hasFailures()) {
         exit(1);
         // non-zero signals execution failure to anyone running this script
     } else {
         exit(0);
         // the UNIX success code -- all-clear
     }
 }