<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/tools/test, branch OTP-18.3.4.6</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>tools: Correct a Cover test</title>
<updated>2016-02-08T07:21:58+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2016-02-04T09:19:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=05e77dac85c5c1686865e015078dfc16bec5f013'/>
<id>05e77dac85c5c1686865e015078dfc16bec5f013</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: Add a Cover test</title>
<updated>2016-02-03T08:07:52+00:00</updated>
<author>
<name>Hans Bolinder</name>
<email>hasse@erlang.org</email>
</author>
<published>2016-01-28T08:28:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=4d12129c7a6e4179af0efe6c22496812bc435a11'/>
<id>4d12129c7a6e4179af0efe6c22496812bc435a11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[cover] Don't crash when compiling beam without 'file' attribute</title>
<updated>2015-12-17T14:32:17+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2015-12-17T14:32:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=064990cac9e5012aafba1169d9e098a7140d812a'/>
<id>064990cac9e5012aafba1169d9e098a7140d812a</id>
<content type='text'>
cover:compile_beam and cover:compile_beam_directory crashed when
trying to compile a beam file without a 'file' attribute. This has
been corrected, so an error is returned instead.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
cover:compile_beam and cover:compile_beam_directory crashed when
trying to compile a beam file without a 'file' attribute. This has
been corrected, so an error is returned instead.
</pre>
</div>
</content>
</entry>
<entry>
<title>[cover] Simplify module cc in cover test to avoid confusion</title>
<updated>2015-12-17T13:33:24+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2015-12-17T13:33:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=dcdeac8cc6504c091e6886fa1ec2ac48709026c9'/>
<id>dcdeac8cc6504c091e6886fa1ec2ac48709026c9</id>
<content type='text'>
Functions in this module are never called, and some functions are
outdated. In order to avoid confusion (and need for update), the
module is now reduced to a simple dummy module.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Functions in this module are never called, and some functions are
outdated. In order to avoid confusion (and need for update), the
module is now reduced to a simple dummy module.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for "Fix cover output file"</title>
<updated>2015-09-10T08:17:21+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2015-09-09T12:51:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3a9a34e581494451cc798911477f3b7bc81e3492'/>
<id>3a9a34e581494451cc798911477f3b7bc81e3492</id>
<content type='text'>
If a module includes eunit.hrl, a parse transform adds the function
test/0 on line 0 in the module.  A bug in OTP-18.0 caused
cover:analyse_to_file/1 to fail to insert cover data in the output
file when line 0 existed in the cover data table. The bug is corrected
by the commit "Fix cover output file".

This commit adds a test which checks that the bug is not introduced
again.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If a module includes eunit.hrl, a parse transform adds the function
test/0 on line 0 in the module.  A bug in OTP-18.0 caused
cover:analyse_to_file/1 to fail to insert cover data in the output
file when line 0 existed in the cover data table. The bug is corrected
by the commit "Fix cover output file".

This commit adds a test which checks that the bug is not introduced
again.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change license text to APLv2</title>
<updated>2015-06-18T09:31:02+00:00</updated>
<author>
<name>Bruce Yinhe</name>
<email>bruce@erlang.org</email>
</author>
<published>2015-06-18T09:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=738c34d4bb8f1a3811acd00af8c6c12107f8315b'/>
<id>738c34d4bb8f1a3811acd00af8c6c12107f8315b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cover: handle undefined module when analysing to file</title>
<updated>2015-06-10T09:44:33+00:00</updated>
<author>
<name>Péter Gömöri</name>
<email>gomoripeti@gmail.com</email>
</author>
<published>2015-05-29T17:00:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b1012c31f38810c6754dcd4cf03f8d2bfb010506'/>
<id>b1012c31f38810c6754dcd4cf03f8d2bfb010506</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>tools: Relax lcnt test time</title>
<updated>2015-05-21T10:24:27+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2015-05-21T10:24:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=95dcd26589bf8e88b7076d679bc253da95a6b4e3'/>
<id>95dcd26589bf8e88b7076d679bc253da95a6b4e3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[cover] Improve performance</title>
<updated>2015-02-20T11:23:16+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2015-02-12T10:41:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=ab435488ab6d90fb03a51f9c899ecaab44aaf35f'/>
<id>ab435488ab6d90fb03a51f9c899ecaab44aaf35f</id>
<content type='text'>
Add functions for cover compilation and analysis on multiple
files. This allows for more parallelisation.

All functions for cover compilation can now take a list of
modules/files.

cover:analyse/analyze and cover:analyse_to_file/analyze_to_file can be
called without the Modules arguement in order to analyse all cover
compiled and imported modules, or with a list of modules.

Also, the number of lookups in ets tables is reduced, which has also
improved the performance when analysing and resetting cover data.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add functions for cover compilation and analysis on multiple
files. This allows for more parallelisation.

All functions for cover compilation can now take a list of
modules/files.

cover:analyse/analyze and cover:analyse_to_file/analyze_to_file can be
called without the Modules arguement in order to analyse all cover
compiled and imported modules, or with a list of modules.

Also, the number of lookups in ets tables is reduced, which has also
improved the performance when analysing and resetting cover data.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix cover bug on last expressions with empty clauses</title>
<updated>2014-11-08T20:07:26+00:00</updated>
<author>
<name>José Valim</name>
<email>jose.valim@plataformatec.com.br</email>
</author>
<published>2014-10-23T11:59:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=b7740a6fe01d254d79291bbcbbc853e874eb41ef'/>
<id>b7740a6fe01d254d79291bbcbbc853e874eb41ef</id>
<content type='text'>
OTP-8188 introduced a fix for handling last expressions in
expressions like case, try and friends. However the fix did
not account that some of those expressions like receive may
have no clauses (only an after clause), leading to a function
clause error when cover compiling code with such expressions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
OTP-8188 introduced a fix for handling last expressions in
expressions like case, try and friends. However the fix did
not account that some of those expressions like receive may
have no clauses (only an after clause), leading to a function
clause error when cover compiling code with such expressions.
</pre>
</div>
</content>
</entry>
</feed>
