[web-qa] master: Remove gcov links
[email protected] (Aaron Junker via GitHub) Fri, 27 May 2022 09:14:37 +0000
| Newsgroups | php.qa |
|---|---|
| Message-ID | <[email protected]> |
Author: Aaron Junker (Aaron-Junker)
Committer: GitHub (web-flow)
Pusher: cmb69
Date: 2022-05-27T11:09:46+02:00
Commit: https://github.com/php/web-qa/commit/8f97866dc9b836cbbce777ba4340c53fcf54376a
Raw diff: https://github.com/php/web-qa/commit/8f97866dc9b836cbbce777ba4340c53fcf54376a.diff
Remove gcov links
Closes GH-35.
Changed paths:
M index.php
M write-test.php
Diff:
diff --git a/index.php b/index.php
index 076443b..599c9ec 100644
--- a/index.php
+++ b/index.php
@@ -19,9 +19,6 @@
All users who compile PHP are encouraged to run '<a href="/running-tests.php">make test</a>', which
runs the test suite and optionally sends the results to this site to be compiled into <a href="reports/">reports for analysis</a>.
</li>
- <li>
- Additional test results are available at <a href="http://gcov.php.net/">gcov.php.net</a>.
- </li>
</ul>
<h3>Available QA Releases:</h3>
diff --git a/write-test.php b/write-test.php
index cee6f24..f21c294 100644
--- a/write-test.php
+++ b/write-test.php
@@ -4,17 +4,6 @@
$TITLE = "Writing Tests [PHP-QAT: Quality Assurance Team]";
$SITE_UPDATE = date("D M d H:i:s Y T", filectime(__FILE__));
-// This is used below for linking to GCOV (Format: GCOV version => Human readable version)
-function get_active_branches() {
- return [
- 'PHP_7_1' => '7.1',
- 'PHP_7_2' => '7.2',
- 'PHP_7_3' => '7.3',
- 'PHP_7_4' => '7.4',
- 'PHP_HEAD' => '8.0'
- ];
-}
-
common_header();
?>
<h1>Creating new test files</h1>
@@ -51,24 +40,8 @@ function or an array function) , or a function provided by one of PHP's numerous
(a mysql function or a image function or a mcrypt function).</p>
<p>You can find out what functions already have phpt tests by looking in the <a href="https://github.com/php/php-src">html
version</a> of the git repository (ext/standard/tests/ is a good place to start looking - though not
-<i>all</i> the tests currently written are in there). If you look at the <a href="http://gcov.php.net">gcov pages</a> you
-can see which functions have lots of tests and which need more, although these pages only
-show which lines of code are covered by test cases so even if the coverage looks good there may
-be more interesting tests to write - for example covering error cases.</p>
-
- <p>
- You can find a list of functionality coverage on GCOV for the following, active branches:
+<i>all</i> the tests currently written are in there).</p>
- <ul style="list-style-type: square;">
-<?php
- foreach(get_active_branches() as $gcov_version => $php_version) {
-?>
- <li><a href="http://gcov.php.net/viewer.php?version=<?php echo($gcov_version); ?>&func=tested_functions">PHP <?php echo($php_version); ?></a></li>
-<?php
- }
-?>
- </ul>
- </p>
<p>If you want more guidance than that you can always ask
the PHP Quality Assurance Team on their mailing list
(<a href="mailto:[email protected]">[email protected]</a>) where they