Commit 62d14675 authored by Arnaud Blanchard's avatar Arnaud Blanchard
Browse files
parents 3f05a49c 43659f44
Pipeline #39 failed with stages
......@@ -26,8 +26,11 @@ echo "Checking blc_program"
echo "===================="
$blaar_dir/ t_parse_args
$blaar_dir/bin/t_parse_args "arg1" "arg2" 2> t_parse_args/test_result.log
LOG=$(mktemp) || exit 1
trap 'cat $LOG && rm -f "$LOG"' EXIT INT HUP TERM
$blaar_dir/ t_parse_args 2>&1> $LOG
$blaar_dir/bin/t_parse_args "arg1" "arg2" 2> t_parse_args/test_result.log
git diff --exit-code t_parse_args/test_result.log || { echo "ERROR: The result of 't_parse_args' is not the one expected"; exit 3; }
echo "- t_parse_args: compilation:OK, execution:OK, result OK"
Supports Markdown
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