Skip to content
Snippets Groups Projects
Commit 9b0410a7 authored by Baruta Daniel Mihail's avatar Baruta Daniel Mihail
Browse files

Individual tests have exit codes

parent 455c54ba
No related branches found
No related tags found
No related merge requests found
......@@ -87,8 +87,10 @@ run_test()
if ${test_fun_array["$test_func_index"]} ; then
SCORE=$((SCORE + points))
echo "$points/$points"
return 0
else
echo "0/$points"
return 1
fi
}
......@@ -106,5 +108,6 @@ if [ -z "$1" ] ; then
test_all
else
run_test "$1"
exit $?
fi
cleanup
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment