Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSravan Kumar Lakkimsetti2018-09-26 07:15:14 -0400
committerSravan Kumar Lakkimsetti2018-09-26 07:15:14 -0400
commit64b4d5fd56f04b619e280afb635e9aa3cc176187 (patch)
treef33b576ab6675fc41dee097f88803f2480b0f71b
parent0af531c769da1e721e6e6172302cc585c6dfe2a0 (diff)
downloadeclipse.platform.releng.aggregator-64b4d5fd56f04b619e280afb635e9aa3cc176187.tar.gz
eclipse.platform.releng.aggregator-64b4d5fd56f04b619e280afb635e9aa3cc176187.tar.xz
eclipse.platform.releng.aggregator-64b4d5fd56f04b619e280afb635e9aa3cc176187.zip
Bug 539464 - Run one configuration of IBuild tests on java 11
Change-Id: Ide8f8ae2325856e7112e355f6de751d9e35e8c07 Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/utilityFunctions.php12
1 files changed, 11 insertions, 1 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/utilityFunctions.php b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/utilityFunctions.php
index 8b5ad480..abb809e0 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/utilityFunctions.php
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/publishingFiles/staticDropFiles/utilityFunctions.php
@@ -116,7 +116,17 @@ function calcTestConfigsRan($testResultsDirName) {
if (substr_startswith($summFileName, $testResultsDirName."/".$jobname)) {
$summFileJava10=strpos($summFileName, "java10");
$jobnameJava10=strpos($testResultsDirName."/".$jobname, "java10");
- if ($summFileJava10 == $jobnameJava10 ) {
+ if (($summFileJava10 > 0) && ($summFileJava10 == $jobnameJava10 )) {
+ //echo "DEBUG: found matching summary file: $summFileName<br />";
+ $xmlResults = simplexml_load_file($summFileName);
+ $testResults[$expectedTestConfigs[$i]]["duration"]=$xmlResults->duration;
+ $testResults[$expectedTestConfigs[$i]]["failCount"]=$xmlResults->failCount;
+ $testResults[$expectedTestConfigs[$i]]["passCount"]=$xmlResults->passCount;
+ $testResults[$expectedTestConfigs[$i]]["skipCount"]=$xmlResults->skipCount;
+ }
+ $summFileJava11=strpos($summFileName, "java11");
+ $jobnameJava11=strpos($testResultsDirName."/".$jobname, "java11");
+ if (($summFileJava11 > 0) && ($summFileJava11 == $jobnameJava11 )) {
//echo "DEBUG: found matching summary file: $summFileName<br />";
$xmlResults = simplexml_load_file($summFileName);
$testResults[$expectedTestConfigs[$i]]["duration"]=$xmlResults->duration;

Back to the top