aboutsummaryrefslogtreecommitdiffstats
path: root/erl-build-tool-vars.sh
diff options
context:
space:
mode:
authorPéter Gömöri <[email protected]>2015-05-29 19:00:33 +0200
committerBjörn Gustavsson <[email protected]>2015-06-10 11:44:33 +0200
commitb1012c31f38810c6754dcd4cf03f8d2bfb010506 (patch)
tree69c72ec0d08163565471a7cb86f567fa3c2259f7 /erl-build-tool-vars.sh
parent23501295ea5289897a75cb52a23685f8e6fcf18c (diff)
downloadotp-b1012c31f38810c6754dcd4cf03f8d2bfb010506.tar.gz
otp-b1012c31f38810c6754dcd4cf03f8d2bfb010506.tar.bz2
otp-b1012c31f38810c6754dcd4cf03f8d2bfb010506.zip
cover: handle undefined module when analysing to file
It is possible that not just the source but even the beam of a module is not available when calling analyse_to_file. For example when coverdata is imported from an old file and since then a module was removed. Before this fix cover:analyse_to_file/3 could possibly never return because of a helper process crashed with error:undef and never reply to the caller. At the same time link the helper process to cover_server so any further error won't let the caller waiting indefinitely.
Diffstat (limited to 'erl-build-tool-vars.sh')
0 files changed, 0 insertions, 0 deletions