aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Ogden <bernie.ogden@linaro.org>2016-03-17 11:28:02 +0000
committerBernard Ogden <bernie.ogden@linaro.org>2016-03-21 12:28:16 +0000
commitb320614055dbf0942d865b5b9463119bc33f4a54 (patch)
tree47134b141502e2a3cbbd205c22ca3464099543d0
parent25b974b1b01def2f675bc6642d15a148f2785e64 (diff)
Make validation stages stand out clearly
Change-Id: Idbfb575593e87e33e7facfc72bc9d5eebd1b89f2
-rwxr-xr-xscripts/Benchmark.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/scripts/Benchmark.sh b/scripts/Benchmark.sh
index 846bd589..d627c4af 100755
--- a/scripts/Benchmark.sh
+++ b/scripts/Benchmark.sh
@@ -52,7 +52,11 @@ function validate {
local x ret
ret=0
- #Cases that must be corrected by user (errors)
+
+ ###############################################
+ #Cases that must be corrected by user (errors)#
+ ###############################################
+
for x in TARGET_CONFIG BENCHMARK LAVA_SERVER; do
if test -z "${!x:-}"; then
echo "${x} must be set" >&2
@@ -110,7 +114,11 @@ function validate {
ret=1
fi
- #Cases that can be fixed up automatically (warnings)
+
+ #####################################################
+ #Cases that can be fixed up automatically (warnings)#
+ #####################################################
+
for x in LAVA_SERVER BUNDLE_SERVER; do
if test -n "${!x:-}"; then
if echo "${!x}" | grep -q '://'; then