From 26d888fda47e6ca6284d1bc3f68f48155ce3e830 Mon Sep 17 00:00:00 2001 From: Evgeny Date: Fri, 24 Apr 2020 13:56:08 -0500 Subject: [PATCH] minor change Change-Id: I9ea899af4f8887677c52131bea502ab029f89cde --- bin/rpl_run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/rpl_run.sh b/bin/rpl_run.sh index bd3d9531b4..4ab465c8c4 100755 --- a/bin/rpl_run.sh +++ b/bin/rpl_run.sh @@ -282,7 +282,7 @@ run() { HSA_TOOLS_LIB="$MY_HSA_TOOLS_LIB" LD_PRELOAD="$MY_LD_PRELOAD" eval "$APP_CMD" retval=$? fi - RET=$retval + return $retval } merge_output() { @@ -532,6 +532,7 @@ fi RET=1 for name in $input_list; do run $name $OUTPUT_DIR $APP_CMD + RET=$? if [ -n "$ROCPROFILER_SESS" -a -e "$ROCPROFILER_SESS/error" ] ; then error_string=`cat $ROCPROFILER_SESS/error` echo "Profiling error found: '$error_string'"