diff options
author | José Valim <[email protected]> | 2012-11-28 13:45:37 +0100 |
---|---|---|
committer | Fredrik Gustafsson <[email protected]> | 2013-01-25 14:57:00 +0100 |
commit | 29231033bfa618e5c4e1c50a5cefba32e02f2708 (patch) | |
tree | ec03896e88eb0adb3a51fd0391f2ba6ac1f6b19f /lib/observer | |
parent | 907d498ff798345fc8e8b71fc08a1c5b40112037 (diff) | |
download | otp-29231033bfa618e5c4e1c50a5cefba32e02f2708.tar.gz otp-29231033bfa618e5c4e1c50a5cefba32e02f2708.tar.bz2 otp-29231033bfa618e5c4e1c50a5cefba32e02f2708.zip |
cover now relies on the compile info to find file sources
Prior to this commit, cover relied on a simple heuristic that
traverses directory from the beam file to find a source file.
The heuristic was maintained with this patch but, if it fails,
it fallbacks to the source value in the module compile info.
In order to illustrate how it works, one of the tests that
could not find its source now passes successfully (showing the
source lookup is more robust).
Diffstat (limited to 'lib/observer')
0 files changed, 0 insertions, 0 deletions