<feed xmlns='http://www.w3.org/2005/Atom'>
<title>otp.git/lib/kernel/test, branch maint-18</title>
<subtitle>Mirror of Erlang/OTP repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/'/>
<entry>
<title>Remove unused test include file from test suites</title>
<updated>2017-11-09T16:54:33+00:00</updated>
<author>
<name>Hans Nilsson</name>
<email>hans@erlang.org</email>
</author>
<published>2017-11-09T13:05:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=599107f1dcc6533c094301ad21919c7c697b9a1b'/>
<id>599107f1dcc6533c094301ad21919c7c697b9a1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change '==' to '=' in code_SUITE:bad_erl_libs</title>
<updated>2016-03-09T09:39:32+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2016-03-09T09:38:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=3a67f14fcf79d0768985e09f1fbeec9d2475b555'/>
<id>3a67f14fcf79d0768985e09f1fbeec9d2475b555</id>
<content type='text'>
This bug was introduced by OTP-13388.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This bug was introduced by OTP-13388.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix code_SUITE after test_server change</title>
<updated>2016-03-03T11:52:32+00:00</updated>
<author>
<name>Siri Hansen</name>
<email>siri@erlang.org</email>
</author>
<published>2016-03-03T11:43:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=f0046c37852993bde960c3a456c1ac1c0078d792'/>
<id>f0046c37852993bde960c3a456c1ac1c0078d792</id>
<content type='text'>
test_server:start_node does no longer add the test_server path to the
new node, since the needed code is present in the default path. This
caused two test cases in code_SUITE to fail.

code_SUITE:mult_lib_roots: Expected the test_server path to be first
in the code path. This check is removed.

code_SUITE:bad_erl_libs: Started a node with "-env ERL_LIBS ",
i.e. not giving any value to the ERL_LIBS variable. This test
succeeded by accident, since the combination with arguments set by
test_server_node.erl and by slave.erl caused the node start to work,
and no further checks were present in the test. This part of the test
case is now removed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test_server:start_node does no longer add the test_server path to the
new node, since the needed code is present in the default path. This
caused two test cases in code_SUITE to fail.

code_SUITE:mult_lib_roots: Expected the test_server path to be first
in the code path. This check is removed.

code_SUITE:bad_erl_libs: Started a node with "-env ERL_LIBS ",
i.e. not giving any value to the ERL_LIBS variable. This test
succeeded by accident, since the combination with arguments set by
test_server_node.erl and by slave.erl caused the node start to work,
and no further checks were present in the test. This part of the test
case is now removed.
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Clarify heart option</title>
<updated>2016-02-25T14:26:28+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2016-02-25T14:13:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=0ca09ee90d6384e74d1b18ab0e05f2c05fc03905'/>
<id>0ca09ee90d6384e74d1b18ab0e05f2c05fc03905</id>
<content type='text'>
Change scheduler responsiveness to 'check_schedulers'.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change scheduler responsiveness to 'check_schedulers'.
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Add heart options test</title>
<updated>2016-02-23T15:37:53+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2016-02-23T15:15:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=bedde8c59e568b15bee4b36dc4e4eaa93d00f63a'/>
<id>bedde8c59e568b15bee4b36dc4e4eaa93d00f63a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>kernel: Add heart callback test</title>
<updated>2016-02-16T14:08:44+00:00</updated>
<author>
<name>Björn-Egil Dahlberg</name>
<email>egil@erlang.org</email>
</author>
<published>2016-02-16T13:59:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=69dc6221cdca3c1ea55fdd55fad2a0de0b882d38'/>
<id>69dc6221cdca3c1ea55fdd55fad2a0de0b882d38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'rickard/monotonic-time-improvements/OTP-13222' into maint</title>
<updated>2016-02-02T09:17:05+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2016-02-02T09:17:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=178cff0a09223da707ca8472a71dbe4125466493'/>
<id>178cff0a09223da707ca8472a71dbe4125466493</id>
<content type='text'>
* rickard/monotonic-time-improvements/OTP-13222:
  Introduce time management in native APIs
  Introduce time warp safe replacement for safe_fixed option
  Introduce time warp safe trace timestamp formats
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* rickard/monotonic-time-improvements/OTP-13222:
  Introduce time management in native APIs
  Introduce time warp safe replacement for safe_fixed option
  Introduce time warp safe trace timestamp formats
</pre>
</div>
</content>
</entry>
<entry>
<title>code: Correct the types for error returns</title>
<updated>2016-01-28T11:16:01+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2016-01-25T14:56:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=28f7a47ab4d533cc72090484eb3a7e5713fa58bc'/>
<id>28f7a47ab4d533cc72090484eb3a7e5713fa58bc</id>
<content type='text'>
The specifications for functions that load code in the 'code'
module (e.g. code:load_file/1) have some problems:

* The specs claim that the functions can return {error,on_load}, but
  they never do. However, they can return {error,on_load_failure} if
  the -on_load function in a module fails.

* The specs claim that the functions can return {error,native_code},
  but they never do.

While we are it, also extend the on_load_errors/1 test case to test
that the load functions return {error,on_load_failure} when an
-on_load function fails.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The specifications for functions that load code in the 'code'
module (e.g. code:load_file/1) have some problems:

* The specs claim that the functions can return {error,on_load}, but
  they never do. However, they can return {error,on_load_failure} if
  the -on_load function in a module fails.

* The specs claim that the functions can return {error,native_code},
  but they never do.

While we are it, also extend the on_load_errors/1 test case to test
that the load functions return {error,on_load_failure} when an
-on_load function fails.
</pre>
</div>
</content>
</entry>
<entry>
<title>Eliminate run-time system crash in code:load_abs/1</title>
<updated>2016-01-25T14:06:25+00:00</updated>
<author>
<name>Björn Gustavsson</name>
<email>bjorn@erlang.org</email>
</author>
<published>2016-01-25T12:12:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=1ddab9c7b66237ea6dd429fb75e4c81247d88920'/>
<id>1ddab9c7b66237ea6dd429fb75e4c81247d88920</id>
<content type='text'>
The run-time system would terminate if code:load_abs/1 was
called with a filename containing any non-latin1 characters.
The reason is that code_server would attempt to construct a
module name from the filename using list_to_atom/1 and that
atoms currently are limited to the latin1 character set.

But how should the error be reported?

I have decided to that the simplest and least confusing way
is to move the call to list_to_atom/1 to 'code' module and
let it crash the calling process. The resulting stack back
trace will make it clear what the reason for the crash was.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The run-time system would terminate if code:load_abs/1 was
called with a filename containing any non-latin1 characters.
The reason is that code_server would attempt to construct a
module name from the filename using list_to_atom/1 and that
atoms currently are limited to the latin1 character set.

But how should the error be reported?

I have decided to that the simplest and least confusing way
is to move the call to list_to_atom/1 to 'code' module and
let it crash the calling process. The resulting stack back
trace will make it clear what the reason for the crash was.
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce time warp safe trace timestamp formats</title>
<updated>2016-01-20T10:10:37+00:00</updated>
<author>
<name>Rickard Green</name>
<email>rickard@erlang.org</email>
</author>
<published>2016-01-05T15:55:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.ninenines.eu/otp.git/commit/?id=858c6f7fa44f7b2dc363b359198d6522dd60e914'/>
<id>858c6f7fa44f7b2dc363b359198d6522dd60e914</id>
<content type='text'>
New timestamp options for trace, sequential trace, and
system profile:
- monotonic_timestamp
- strict_monotonic_timestamp
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New timestamp options for trace, sequential trace, and
system profile:
- monotonic_timestamp
- strict_monotonic_timestamp
</pre>
</div>
</content>
</entry>
</feed>
