summaryrefslogtreecommitdiff
path: root/tcwg_bmk-build.sh
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2023-07-05 14:34:33 +0200
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2023-07-05 14:35:49 +0200
commit43770a786cf7bdb88d0787a05681017cb8623cd3 (patch)
tree439b6b8bfb9a8ed562df9c44020bcfc1929d7e9e /tcwg_bmk-build.sh
parent5601f9ac0858df2145def18f96e5d3138920f187 (diff)
tcwg_bmk-build.sh: Add clear assert if the bmk results cannot be retrieved
.. and specify remote in git annex init command Change-Id: Iba4196e92e3eafe00878ca6e8668c969a060e732
Diffstat (limited to 'tcwg_bmk-build.sh')
-rwxr-xr-xtcwg_bmk-build.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh
index 8fa65452..381e4358 100755
--- a/tcwg_bmk-build.sh
+++ b/tcwg_bmk-build.sh
@@ -420,6 +420,8 @@ compare_results ()
git_set_remote base-artifacts "bkp-01" \
"ssh://bkp-01.tcwglab/home/tcwg-buildslave/base-artifacts"
git -C base-artifacts annex copy --from=bkp-01 annex/
+ assert_with_msg "ERROR: bmk-results is broken $results_ref" \
+ [ x"$(find base-artifacts/annex -xtype l |wc -l)" == x"0" ]
else
# FIXME :
# Otherwise, getting it from bkp-01:/home/tcwg-benchmark/results-.