MT#7531 Add ERROR label for failed TAP cases

vseva/7535
Alexander Lutay 12 years ago
parent 3fdb96faf8
commit 9518075d29

@ -143,7 +143,7 @@ class Test:
else:
output += "ok %d\n" % test
else:
output += "not ok %d - %s\n" % (test, s['msg_err'])
output += "not ok %d - ERROR: %s\n" % (test, s['msg_err'])
test = test + 1
return output

@ -40,7 +40,7 @@ function generate_error_tap
local tap_file="$1"
cat <<EOF > $tap_file
1..1
not ok File $2 does not exists
not ok 1 - ERROR: File $2 does not exists
EOF
echo "$(date) - $(basename $2) NOT ok"
}

Loading…
Cancel
Save