"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "lib/tap-driver.sh" between
automake-1.16.2.tar.xz and automake-1.16.3.tar.xz

About: GNU Automake is a Makefile generator (input Makefile.am, output Makefile.in; intended for use with autoconf).

tap-driver.sh  (automake-1.16.2.tar.xz):tap-driver.sh  (automake-1.16.3.tar.xz)
skipping to change at line 372 skipping to change at line 372
# When this function is called, we know that line is a TAP result line, # When this function is called, we know that line is a TAP result line,
# so that it matches the (perl) RE "^(not )?ok\b". # so that it matches the (perl) RE "^(not )?ok\b".
function setup_result_obj(line) function setup_result_obj(line)
{ {
# Get the result, and remove it from the line. # Get the result, and remove it from the line.
result_obj["is_ok"] = (substr(line, 1, 2) == "ok" ? 1 : 0) result_obj["is_ok"] = (substr(line, 1, 2) == "ok" ? 1 : 0)
sub("^(not )?ok[ \t]*", "", line) sub("^(not )?ok[ \t]*", "", line)
# If the result has an explicit number, get it and strip it; otherwise, # If the result has an explicit number, get it and strip it; otherwise,
# automatically assing the next progresive number to it. # automatically assign the next test number to it.
if (line ~ /^[0-9]+$/ || line ~ /^[0-9]+[^a-zA-Z0-9_]/) if (line ~ /^[0-9]+$/ || line ~ /^[0-9]+[^a-zA-Z0-9_]/)
{ {
match(line, "^[0-9]+") match(line, "^[0-9]+")
# The final `+ 0` is to normalize numbers with leading zeros. # The final `+ 0` is to normalize numbers with leading zeros.
result_obj["number"] = substr(line, 1, RLENGTH) + 0 result_obj["number"] = substr(line, 1, RLENGTH) + 0
line = substr(line, RLENGTH + 1) line = substr(line, RLENGTH + 1)
} }
else else
{ {
result_obj["number"] = testno result_obj["number"] = testno
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)