From e6a096a081c8cb2507728828ab1f9f4a7d1606f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=8A?= =?UTF-8?q?=D1=80=20=D0=9A=D1=83=D1=80=D1=82=D0=B0=D0=BA=D0=BE=D0=B2?= Date: Thu, 3 Apr 2025 14:49:51 +0300 Subject: [PATCH] Drop download pages for coverage These haven't been used in the last 10+ years, current way of running tests has zero support for handling coverage and php will be gone by the end of year so it's best if only actually used scripts are around so one can actually figure what needs porting. --- .../src/main/scripts/library.xml | 3 - .../staticDropFiles/coverage.php | 101 ------------------ .../sdk.tests/testScripts/test.xml | 6 -- production/testScripts/runTests2.xml | 7 -- 4 files changed, 117 deletions(-) delete mode 100644 eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/coverage.php diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/scripts/library.xml b/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/scripts/library.xml index a269e20b4c3..917b9cd088a 100644 --- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/scripts/library.xml +++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse-junit-tests/src/main/scripts/library.xml @@ -142,9 +142,6 @@ value="org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter" /> - - - - -read()) { - $path = $cdir . "/" . $myDir . "/" . $anEntry . "/" . "index.html"; - if (is_file($path)) { - $entries[$index] = $anEntry; - $index++; - } - } - - $aDirectory->close(); - sort($entries); - - if ($index < 0) { - echo "
There is no coverage data for this build."; - return; - } - for ($i = 0; $i < $index; $i++) { - $anEntry = $entries[$i]; - $line = "$anEntry"; - echo "
  • $line
  • "; - } -} - - -?> - - - -Code coverage results - - - - - - - - - - - - - - - -
    -
    -Code coverage for $BUILD_ID \n"; - -echo "

    Code coverage for $BUILD_ID

    \n"; -?> - - - - -
    -
    - - - - diff --git a/production/testScripts/configuration/sdk.tests/testScripts/test.xml b/production/testScripts/configuration/sdk.tests/testScripts/test.xml index 8b475bfbe88..ab18d6c868c 100644 --- a/production/testScripts/configuration/sdk.tests/testScripts/test.xml +++ b/production/testScripts/configuration/sdk.tests/testScripts/test.xml @@ -676,12 +676,6 @@ value="${results}/${testedPlatform}-perf-samples.dat" /> - - - diff --git a/production/testScripts/runTests2.xml b/production/testScripts/runTests2.xml index 0a88e4ceff4..599f9e9bc9e 100644 --- a/production/testScripts/runTests2.xml +++ b/production/testScripts/runTests2.xml @@ -763,13 +763,6 @@ value="${results}/${testedPlatform}-perf-samples.dat" /> - - - -