From 68b804f34d4ec420d86953e3f519179a40fbee8f Mon Sep 17 00:00:00 2001 From: Erlang/OTP Date: Tue, 29 Jan 2013 11:38:41 +0100 Subject: Prepare release --- lib/test_server/doc/src/notes.xml | 146 ++++++++++++++++++++++++++++++++++++++ lib/test_server/vsn.mk | 2 +- 2 files changed, 147 insertions(+), 1 deletion(-) (limited to 'lib/test_server') diff --git a/lib/test_server/doc/src/notes.xml b/lib/test_server/doc/src/notes.xml index 6a9add044a..59fb789e35 100644 --- a/lib/test_server/doc/src/notes.xml +++ b/lib/test_server/doc/src/notes.xml @@ -32,6 +32,152 @@ notes.xml +
Test_Server 3.6 + +
Fixed Bugs and Malfunctions + + +

+ Line numbering of erlang files that were not correctly + indented could be wrong after coverting to html with + erl2html2:convert/[2,3] (the source code pointed to from + the test case). This has been corrected.

+

+ Also, there are now link targets for each line and not + only for each 10th line, and link targets for functions + now include the arity and not only the function name + (e.g. func/1 has a link target "func-1").

+

+ Own Id: OTP-9710 Aux Id: seq11945, kunagi-201 [112]

+
+ +

+ Severe errors detected by test_server (e.g. if log + files directories cannot be created) will now be reported + to common_test and noted in the common_test + logs.

+

+ Own Id: OTP-9769 Aux Id: kunagi-202 [113]

+
+ +

+ The earlier undocumented cross cover feature for + accumulating cover data over multiple tests has now been + fixed and documented.

+

+ Own Id: OTP-9870 Aux Id: kunagi-206 [117]

+
+ +

+ If the test suite itself was included in code coverage + analysis, then the test_server would not manage to set + data_dir correctly for the test. This has been corrected.

+

+ Own Id: OTP-9956 Aux Id: kunagi-207 [118]

+
+ +

+ Any call to test_server:break/1 should cancel all active + timetramps. However, in some cases + Suite:end_per_testcase/2 is executed on a different + process than the test case itself, and if + test_server:break/1 was called from there, the timetraps + were not cancelled. This has been corrected.

+

+ Own Id: OTP-10046 Aux Id: kunagi-174 [85]

+
+ +

When a test case failed because of a timetrap time + out, the Config data for the case was lost in the + following call to end_per_testcase/2, and also in + calls to the CT Hook function + post_end_per_testcase/4. This problem has been + solved and the Config data is now correctly passed + to the above functions after a timetrap timeout + failure.

+

+ Own Id: OTP-10070 Aux Id: kunagi-175 [86]

+
+ +

In test_server, the same process would supervise the + currently running test case and be group leader (and IO + server) for the test case. Furthermore, when running + parallel test cases, new temporary supervisor/group + leader processes were spawned and the process that was + group leader for sequential test cases would not be + active. That would lead to several problems:

+

* Processes started by init_per_suite will inherit the + group leader of the init_per_suite process (and that + group leader would not process IO requests when parallel + test cases was running). If later a parallel test case + caused such a processto print using (for example) + io:format/2, the calling would hang.

+

* Similarly, if a process was spawned from a parallel + test case, it would inherit the temporary group leader + for that parallel test case. If that spawned process + later - when the group of parallel tests have finished - + attempted to print something, its group leader would be + dead and there would be badarg exception.

+

Those problems have been solved by having group + leaders separate from the processes that supervises the + test cases, and keeping temporary group leader process + for parallel test cases alive until no more process in + the system use them as group leaders.

+

Also, a new unexpected_io.log log file + (reachable from the summary page of each test suite) has + been introduced. All unexpected IO will be printed into + it(for example, IO to a group leader for a parallel test + case that has finished).

+

+ Own Id: OTP-10101 Aux Id: OTP-10125

+
+ +

+ The stability of common_test and + test_server when running test cases in parallel + has been improved.

+

+ Own Id: OTP-10480 Aux Id: kunagi-318 [229]

+
+
+
+ + +
Improvements and New Features + + +

+ Added a general framework for executing benchmarks of + Erlang/OTP. Benchmarks for the Erlang VM and mnesia have + been incorporated in the framework.

+

+ For details about how to add more benchmarks see + $ERL_TOP/HOWTO/BENCHMARKS.md in the source distribution.

+

+ Own Id: OTP-10156

+
+ +

+ Update common test modules to handle unicode + Use UTF-8 encoding for all HTML files, except the + HTML version of the test suite generated with + erl2html2:convert, which will have the same encoding as + the original test suite (.erl) file. + Encode link targets in HTML files with + test_server_ctrl:uri_encode/1. Use unicode + modifier 't' with ~s when appropriate. Use + unicode:characters_to_list and + unicode:characters_to_binary for conversion between + binaries and strings instead of binary_to_list and + list_to_binary.

+

+ Own Id: OTP-10783

+
+
+
+ +
+
Test_Server 3.5.3
Improvements and New Features diff --git a/lib/test_server/vsn.mk b/lib/test_server/vsn.mk index b956ebb2b3..8949f13b2f 100644 --- a/lib/test_server/vsn.mk +++ b/lib/test_server/vsn.mk @@ -1 +1 @@ -TEST_SERVER_VSN = 3.5.3 +TEST_SERVER_VSN = 3.6 -- cgit v1.2.3