diff options
author | Siri Hansen <[email protected]> | 2012-11-19 15:13:47 +0100 |
---|---|---|
committer | Siri Hansen <[email protected]> | 2012-11-19 18:07:33 +0100 |
commit | a908160088b654e436bdcdd32369c29603ca5fa7 (patch) | |
tree | a5444eccddaa7c80a10db0987582b764254d0e51 /lib/test_server/test/Makefile | |
parent | a7af6cae44d1837d0c6cb35b99feff1260659102 (diff) | |
download | otp-a908160088b654e436bdcdd32369c29603ca5fa7.tar.gz otp-a908160088b654e436bdcdd32369c29603ca5fa7.tar.bz2 otp-a908160088b654e436bdcdd32369c29603ca5fa7.zip |
[test_server] Fix erl2html2.erl to handle badly indented files
Line numbering of erlang files that were not correctly indented could
be wrong after coverting to html with erl2html2:convert/[2,3]. This has
been corrected.
This commit also fixes the following:
* There are now link targets for each line and not only for each 10th
line - meaning that links from test logs are now to the exact line,
and not to the last number for which N rem 10 == 0.
* there will only be one link target per function, i.e. the faulty
link targets for function clauses are removed.
* link targets for function now includes the arity (e.g. func/1 has a
link target "func-1")
And some tests are added.
Diffstat (limited to 'lib/test_server/test/Makefile')
-rw-r--r-- | lib/test_server/test/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/test_server/test/Makefile b/lib/test_server/test/Makefile index a3f9820d7f..afccc28662 100644 --- a/lib/test_server/test/Makefile +++ b/lib/test_server/test/Makefile @@ -26,7 +26,8 @@ include $(ERL_TOP)/make/$(TARGET)/otp.mk MODULES= \ test_server_SUITE \ - test_server_test_lib + test_server_test_lib \ + erl2html2_SUITE ERL_FILES= $(MODULES:%=%.erl) |