Changeset 125
- Timestamp:
- 03/02/08 20:30:43 (10 months ago)
- Files:
-
- 1 modified
-
trunk/src/Stagehand/TestRunner.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Stagehand/TestRunner.php
r123 r125 162 162 $runner->run($suite, $color); 163 163 } else { 164 if (!is_dir($directory)) { 165 echo "ERROR: The specified path [ $directory ] is not found or not a directory.\n"; 166 self::_displayUsage(); 167 return 1; 168 } 169 164 170 $directory = realpath($directory); 165 if ($directory === false || !is_dir($directory)) {166 echo "ERROR: The specified path [ $directory ] is not found or not a directory.\n";171 if ($directory === false) { 172 echo "ERROR: Cannnot get the absolute path of the specified directory [ $directory ]. Make sure all elements of the absolute path have valid permissions."; 167 173 self::_displayUsage(); 168 174 return 1;
