Commit 3c8e4daa authored by Helen Koike's avatar Helen Koike

wip: print total

parent b6a5c21f
......@@ -309,6 +309,8 @@ launch_test()
DM_BOOT_PARAM=$4
EXPECT_RESULT=${5-0}
LOG_N=${LOG_N-0}
N_SUCCESS=${N_SUCCESS-0}
N_FAIL=${N_FAIL-0}
LOG_N=$((LOG_N+1))
......@@ -330,9 +332,13 @@ launch_test()
ret=$?
if [ "$ret" == "${EXPECT_RESULT}" ]; then
echo "> Result: SUCCESS ($ret)"
N_SUCCESS=$((N_SUCCESS+1))
else
echo "> Result: FAIL ($ret)"
N_FAIL=$((N_FAIL+1))
fi
echo ""
echo "Total successes: ${N_SUCCESS}. Total failures: ${N_FAIL}"
}
# -----------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment