summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2022-06-08 21:53:42 +0530
committerPrathamesh Kulkarni <prathamesh.kulkarni@linaro.org>2022-06-09 09:05:43 +0000
commit2d283771ee570d410b295948dca11f248d36ac9f (patch)
tree3a422e0638f957b99f1392507d7316b82ee25e4e
parentba72211382c2fdabec21e4f05aa49751dd9e31f4 (diff)
tcwg-benchmark-results.sh: set -x if $verbose is true.
Change-Id: I959345dcfa03d19cb6ef2cab13dbeb6752016a0c
-rwxr-xr-xtcwg-benchmark-results.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcwg-benchmark-results.sh b/tcwg-benchmark-results.sh
index 9c9f101b..f3288f98 100755
--- a/tcwg-benchmark-results.sh
+++ b/tcwg-benchmark-results.sh
@@ -19,6 +19,10 @@ num_entries_opt="${num_dsos+--num-dsos $num_dsos} ${num_symbols+--num-symbols $n
entry_threshold="${entry_threshold-5}"
has_perf_logs="${has_perf_logs-yes}"
+if $verbose; then
+ set -x
+fi
+
relative_opt=""
# shellcheck disable=SC2154
if [ x"${results_ref+set}" = x"set" ]; then