Lines Matching refs:file

818 		foreach ($this->test_files as $file) {
819 if (strpos($file,$this->conf['TEST_PHP_SRCDIR'])==0) {
820 $newlocation = $this->conf['TEST_BASE_PATH'].substr($file,$l);
822 $dirs[dirname($file)] = dirname($newlocation);
1136 function getSectionText($file) argument
1144 '_FILE' => $file,
1145 '_DIR' => realpath(dirname($file)),
1148 $fp = @fopen($file, "r")
1149 or $this->error("Cannot open test file: $file");
1179 function getSkipReason($file,&$section_text,$docgi=false) argument
1210 …is->runscript($section_text['SKIPIF'],$this->test_executable_iscgi,realpath(dirname($file))),true);
1233 function run_test($file) argument
1236 $this->writemsg("\n=================\nTEST $file\n");
1238 $section_text = $this->getSectionText($file);
1241 $shortname = str_replace($this->conf['TEST_BASE_PATH'].'\\', '', $file);
1243 $shortname = str_replace($this->conf['TEST_BASE_PATH'].'/', '', $file);
1247 $tmp_file = preg_replace('/\.phpt$/','.'.$this->conf['TEST_WEB_EXT'],$file);
1251 $tmp_file = preg_replace('/\.phpt$/','.php',$file);
1256 @unlink(preg_replace('/\.phpt$/','.diff',$file));
1257 @unlink(preg_replace('/\.phpt$/','.log',$file));
1258 @unlink(preg_replace('/\.phpt$/','.exp',$file));
1259 @unlink(preg_replace('/\.phpt$/','.out',$file));
1274 $skipreason = $this->getSkipReason($file,$section_text,$do_cgi);
1543 'name' => $file,
1545 'output' => preg_replace('/\.phpt$/','.log', $file),
1546 'diff' => preg_replace('/\.phpt$/','.diff', $file)
1554 $logname = preg_replace('/\.phpt$/','.exp',$file);
1560 $logname = preg_replace('/\.phpt$/','.out',$file);
1566 $logname = preg_replace('/\.phpt$/','.diff',$file);
1572 $logname = preg_replace('/\.phpt$/','.log',$file);
1579 $this->error_report($file,$logname,$tested);