com phpruntests: deleted old version: QA/results/fail_compare .php

From: Date: Tue, 07 Jul 2009 12:11:27 +0000
Subject: com phpruntests: deleted old version: QA/results/fail_compare .php
Groups: php.qa 
Request: Send a blank email to php-qa+get-66358@lists.php.net to get a copy of this message
Commit: 4125c467c00fc304bb3f435215a2511ef9d575d5 Author: Zoe Slattery <zoe@php.net> Tue, 7 Jul 2009 12:11:27 +0000 Parents: d5013f8f24fdcaded549aaceb4a6f8a193389ebb Branches: master Link: http://git.php.net/?p=phpruntests.git;a=commitdiff;h=4125c467c00fc304bb3f435215a2511ef9d575d5 Log: deleted old version Changed paths: D QA/results/fail_compare.php Diff: diff --git a/QA/results/fail_compare.php b/QA/results/fail_compare.php deleted file mode 100644 index 78c9a63..0000000 --- a/QA/results/fail_compare.php +++ /dev/null @@ -1,47 +0,0 @@ -<?php - -//Compare FAILED tests from run-tests and phpruntests -//php fail_compare.php phprt_ext rt_ext - -$top_level = $argv[3]; - -$mytests = file($argv[1]); -$myfails = array(); - -foreach($mytests as $test) { - if (preg_match("/($top_level\/\S+)\s{1},(.*)\s{1}FAIL\s{1}/", $test, $matches)) { - if(!preg_match("/XFAIL/", $matches[2])) { - $myfails[] = $matches[1] . ".phpt"; - } - } -} - - -$rttests = file($argv[2]); -$rtfails = array(); - -foreach($rttests as $test) { - if (preg_match("/FAIL.*\[(.+\.phpt)\]/", $test, $matches)) { - //echo $matches[1] . "\n"; - $rtfails[] = $matches[1]; - } -} - -$fail_only_my = array_diff($myfails, $rtfails); -$nmy = count($fail_only_my); - -echo "\n =====> $nmy tests fail in phpruntests and do not fail in run-tests\n"; - -foreach($fail_only_my as $fail) { - echo "$fail \n"; -} - -$fail_only_rt = array_diff($rtfails, $myfails); -$nrt = count ($fail_only_rt); - -echo "\n =====> $nrt tests fail in run-tests and do not fail in phpruntests\n"; - -foreach($fail_only_rt as $fail) { - echo "$fail\n"; -} -?>

« previous php.qa (#66358) next »