summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/shell/stat_metrics_values.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/shell/stat_metrics_values.sh')
-rwxr-xr-xtools/perf/tests/shell/stat_metrics_values.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/perf/tests/shell/stat_metrics_values.sh b/tools/perf/tests/shell/stat_metrics_values.sh
index 7ca172599a..279f19c591 100755
--- a/tools/perf/tests/shell/stat_metrics_values.sh
+++ b/tools/perf/tests/shell/stat_metrics_values.sh
@@ -19,6 +19,8 @@ echo "Output will be stored in: $tmpdir"
$PYTHON $pythonvalidator -rule $rulefile -output_dir $tmpdir -wl "${workload}"
ret=$?
rm -rf $tmpdir
-
+if [ $ret -ne 0 ]; then
+ echo "Metric validation return with erros. Please check metrics reported with errors."
+fi
exit $ret