the idea in general, is to dump all message output to buildbot and after

that parse all relevant information from that to provide status updates
not to hook and generate intermediate messages which are not going
through buildbot.
This commit is contained in:
Jukka Aho
2015-07-09 21:21:40 +03:00
parent fa2f056684
commit 00405f9caf
-4
View File
@@ -39,17 +39,13 @@ cd(dirname(@__FILE__)) do
nfailed = 0
nskipped = 0
#fid = open("./quality/doctests_report.rst", "w")
for m in modules
s = doctest(m)
#writemime(fid, "text/plain", s)
# local stats for this module
lnpassed, lnfailed, lnskipped = map(length, (passed(s), failed(s), skipped(s)))
npassed += lnpassed
nfailed += lnfailed
nskipped += lnskipped
end
#close(fid)
make_badge("doctests", npassed, (npassed+nfailed+nskipped), "badges/doctests-status.svg")
end