summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2022-09-29 21:08:52 +0530
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2022-09-30 14:09:00 +0000
commit01e9c013d095de4d12947e108e2680982de40e92 (patch)
tree14b314b565df4a5c1c74effb58153b87fbac79d0
parent808f49ee7232062873c132b98d8fd6af8d84e2a3 (diff)
tcwg_bmk-build.sh: Collect symbols that are skipped by md5sum checks.
The patch stores symbols that are skipped by md5sums in $run_step_artifacts/skipped-symbols.txt. The intent is to monitor the file over next few runs, and if it turns out to be OK, we can enable md5sum processing again. Change-Id: I5c522290f0f347cb26dbbd990a87536222578317
-rwxr-xr-xtcwg_bmk-build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/tcwg_bmk-build.sh b/tcwg_bmk-build.sh
index f2f76a1a..58e7aba4 100755
--- a/tcwg_bmk-build.sh
+++ b/tcwg_bmk-build.sh
@@ -466,15 +466,18 @@ compare_results ()
esac
# Skip processing time metric if md5sums match.
- # If either md5sum is -1, then it indicates that we don't have checksum
- # computed correctly for this symbol, and thus continue with comparison.
+ # If either md5sum is -1 or "d41d8...", then it indicates that
+ # we don't have checksum computed correctly for this symbol,
+ # and thus continue with comparison.
if [ x"$md5sum1" == x"$md5sum2" ] \
&& [ x"$md5sum1" != x"-1" ] \
+ && [ x"$md5sum1" != x"d41d8cd98f00b204e9800998ecf8427e" ] \
&& [ x"$metric_id" == x"time" ] \
&& [ "$metric" != "n/a" ]; then
if (( $metric != 0 )); then
echo "warning: Samples differ for $symbol having same md5sums: $time1, $time2"
fi
+ echo "SKIPPING $bmk:$symbol because md5sums match" >> $run_step_artifacts/skipped-symbols.txt
# TODO: Fix md5sum processing.
#continue
fi