aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Lyon <christophe.lyon@linaro.org>2018-04-27 13:54:45 +0000
committerChristophe Lyon <christophe.lyon@linaro.org>2018-04-28 07:45:46 +0000
commit95af0f1e6aa828f57c20636ff5cb28d284a4f038 (patch)
treec858aeb0f44f5acedbc43aee75a08de52d19005b
parentef3da3c7fce4dbbab5dd6a1dd8ff6a0fbe4a2d20 (diff)
tcwg-backport, tcwg-compare-results: Support target_list.
We want to force the list of targets the comparison script should compare. Change-Id: Icda876054eccec5a882417692aafd63af95748ff
-rw-r--r--tcwg-backport.yaml1
-rw-r--r--tcwg-compare-results.yaml6
2 files changed, 6 insertions, 1 deletions
diff --git a/tcwg-backport.yaml b/tcwg-backport.yaml
index 56dd2b402d..3f94618263 100644
--- a/tcwg-backport.yaml
+++ b/tcwg-backport.yaml
@@ -151,6 +151,7 @@
cat <<EOF > compare_results_parameters
ref_logs=tcwg-backport-$gcc_orig_rev/$abe_rev
new_logs=tcwg-backport-$gcc_patch_rev/$abe_rev
+ target_list=$target_list
log_server=$log_server
EOF
- trigger-builds:
diff --git a/tcwg-compare-results.yaml b/tcwg-compare-results.yaml
index 86a5dafa36..68d63f1d21 100644
--- a/tcwg-compare-results.yaml
+++ b/tcwg-compare-results.yaml
@@ -28,6 +28,10 @@
default: '0.95'
description: 'Pass threshold, below which the comparison returns an error'
- string:
+ name: target_list
+ default:
+ description: 'List of targets to compare -- aarch64-linux-gnu armv8l-linux-gnueabihf arm-linux-gnueabi arm-linux-gnueabihf armeb-linux-gnueabihf aarch64-none-elf aarch64_be-none-elf tcwg-x86_64-build tcwg-x86_32-build tcwg-tk1_32-build tcwg-apm_64-build tcwg-apm_32-build'
+ - string:
name: log_server
default: dev-01.tcwglab:/home/tcwg-buildslave/logs
description: 'Log_Server'
@@ -89,7 +93,7 @@
./unstable-tests.txt ${log_server}:${dest} || status=1
ssh ${log_server} bash ${dest}/compare_jobs.sh \
-pass-thresh ${pass_thresh} \
- $basedir/$ref_logs $basedir/$new_logs || status=1
+ $basedir/$ref_logs $basedir/$new_logs ${target_list} || status=1
# Copy the generated reports
scp ${log_server}:${dest}/\*-diff-\*.txt ${LOGSDIR} || true