aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2010-07-06Improve handling of test case group specificationsPeter Andersson
2010-07-06Add new option to label test runsPeter Andersson
With the option 'label', the test run gets a user defined name that Common Test prints in the overview log files.
2010-07-06Implement handling of group specificationsPeter Andersson
It's possible now to specify execution of test case groups (and test cases within groups) by means of run_test options and test specification terms. From test specifications, groups (and test cases) may also be skipped. ct_run has been improved to report errors better. New test suites have been introduced.
2010-07-06Fix problem with using the wrong logdir settingPeter Andersson
The default logdir value "." overrides setting in test specification if logdir start flag/option is missing.
2010-07-06Rewrite handling of group definitions in Common Test test suitesPeter Andersson
This is to enable execution of specific groups, and/or test cases within groups, by means of run_test options or test specifications.
2010-07-05gen_sctp: Fix documentation typoRaimo Niskanen
2010-06-29Merge branch 'ia/ssl/new-doc' into devIngela Anderton Andin
2010-06-28Merge branch 'egil/update-system-vsn' into devBjörn-Egil Dahlberg
2010-06-23Added more specs and changed from using own min/2 funtion to erlang:min/2.Ingela Anderton Andin
2010-06-22Added more -spec definitions.Ingela Anderton Andin
2010-06-22Refreshed documentation to reflect the change of default implementation.Ingela Anderton Andin
Started to improve code documentation by using -spec directive, and some small refactorings to avoid ugly code.
2010-06-18Update Erlang system version to R14BBjörn-Egil Dahlberg
2010-06-15The R14A releaseOTP_R14AErlang/OTP
Final merge of all unexpected differences from dev to release.
2010-06-15Update highlightsPatrik Nyblom
2010-06-15Update release notesPatrik Nyblom
2010-06-15Added empty line for solaris sedDan Gudmundsson
2010-06-14OTP-8711 Make ei build on VxWorksBjörn-Egil Dahlberg
Make erl_interface build on VxWorks
2010-06-14OTP-8710 Fix emulator crash caused by setting CPU topologyRickard Green
A user defined CPU topology set via a call to <seealso marker="erlang#system_flag_cpu_topology">erlang:system_flag(cpu_topology, CPUTopology)</seealso> was not properly verified, and could in worst case cause an emulator crash. The emulator crash could only occur when a user defined CPU topology already existed and was redefined.
2010-06-14Make reltool escript executableErlang/OTP
2010-06-14OTP-8695 New ssl defaultIngela Anderton Andin
Ssl has now switched default implementation and removed deprecated certificate handling. All certificate handling is done by the public_key application.
2010-06-11Update deprecations for sslBjörn Gustavsson
2010-06-11OTP-8695 New ssl defaultIngela Anderton Andin
Ssl has now switched default implementation and removed deprecated certificate handling. All certificate handling is done by the public_key application.
2010-06-11** Empty commit message **Patrik Nyblom
2010-06-11Update release notesBjörn Gustavsson
2010-06-11Merge branch 'egil/eprof' into devErlang/OTP
* egil/eprof: Fix eprof to handle error cases Dialyzer cleanup for eprof Fix fprof_SUITE to use new eprof API Switch pattern API for eprof profile with mfa Update eprof documentation Update eprof_SUITE with more basic tests Rename sorting choices for eprof Teach eprof to align text output Add dump functionality to eprof Add log functionality to eprof Update eprof tests to reflect new eprof Add start timestamp to eprof profiling Teach eprof to use the new breakpoints OTP-8706 egil/eprof eprof has been reimplemented with support in the Erlang virtual machine and is now both faster (i.e. slows down the code being measured less) and scales much better. In measurements we saw speed-ups compared to the old eprof ranging from 6 times (for sequential code that only uses one scheduler/core) up to 84 times (for parallel code that uses 8 cores).
2010-06-11Merge branch 'se/port_SUITE_env' into devErlang/OTP
* se/port_SUITE_env: fix open_port with many unset env vars allow open_port with env vars with trailing '=' on Windows OTP-8701 se/port_SUITE_env open_port/2 with the spawn and spawn_executable options can include an {env,Env} option. In some cases unsetting variables would not work on Unix (typically if more variables were unset than were actually present in the environment).
2010-06-11Merge branch 'peppe/common_test_r14_dev_2' into devErlang/OTP
* peppe/common_test_r14_dev_2: Misc documentation updates Add documentation for run_test program Step vsn for test_server to 3.4 Make {repeat*,N} property in group execute the group N times exactly Fix so that ct_run converts relative diretories in the code path to absolute Fix bug in handling framework:end_tc timeouts Fix bug that prevents the interactive shell mode to start properly Fix failing multiply timetrap test case Minor fixes in code and test suites Add support for executing pre-loaded suites (e.g. modules loaded as binaries) Add test suite for remote loading of binary suites Fix error with {repeat,0} property in groups causing double iterations Add support for config info functions (e.g. init_per_suite/0) Add support for dynamic timetrap handling Have end_per_testcase run even after timetrap_timeout and abort_testcase Flush old DOWN messages in demonitor Add groups in test specifications Add new tests for test case groups and test specifications Improve and fix various test suites Add event_handler_init start flag that can pass init arguments to event handlers ... OTP-8703 peppe/common_test_r14_dev_2
2010-06-11reltool releaseDan Gudmundsson
2010-06-11OTP-8695 New ssl defaultIngela Anderton Andin
Ssl has now switched default implementation and removed deprecated certificate handling. All certificate handling is done by the public_key application.
2010-06-11Merge branch 'hm/reltool-find-regular' into devErlang/OTP
* hm/reltool-find-regular: Improve lookup of erl files
2010-06-10Update version numbersBjörn Gustavsson
2010-06-10fix open_port with many unset env varsSverker Eriksson
The erlang:open_port spawn and spawn_executable directives can include an {env, Env} directive to set up environment variables for the spawned process. Variables can be unset with {"NameOfVariable",false}. A bug in ert/emulator/sys/unix/sys.c could cause unset variables to not be unset. This would typically happen if there where more variables to be unset than there where already set variables in the destination evironment. Fix this problem for unix and add a new regression test for it to the port test suite. Windows does not seem to have the same problem.
2010-06-10allow open_port with env vars with trailing '=' on WindowsSverker Eriksson
Same problem that Steve Vinoski fixed for Unix. Similar fix done in erts/emulator/sys/win32/sys_env.c for Windows. Copy-paste from his commit-message: The erlang:open_port spawn and spawn_executable directives can include an {env, Env} directive to set up environment variables for the spawned process. A bug in ert/emulator/sys/unix/sys.c prevented applications from using {env, Env} to set an environment variable whose value ended with a '=' (equal sign) character; the code mistook the trailing equal sign as an indication that an environment variable was to be cleared from the environment of the spawned process. For example, passing an {env, Env} of {env, [{"foo", "bar="}]} would result in the code in sys.c seeing a string of the form "foo=bar=" The code would see the final '=' character and assume the directive wanted to clear a variable named "foo=bar" from the environment of the spawned process, rather than seeing it as a directive to set the environment variable "foo" to the value "bar=".
2010-06-10Update version numberLars G Thorsen
2010-06-09Fix eprof to handle error casesBjörn-Egil Dahlberg
2010-06-09Update version for asn1Björn-Egil Dahlberg
2010-06-09Dialyzer cleanup for eprofBjörn-Egil Dahlberg
2010-06-09Update bootstrap compilerBjörn Gustavsson
2010-06-09Misc documentation updatesPeter Andersson
2010-06-09Add documentation for run_test programPeter Andersson
2010-06-09Step vsn for test_server to 3.4Peter Andersson
2010-06-09Make {repeat*,N} property in group execute the group N times exactlyPeter Andersson
To be consistent with the behaviour of the run_test repeat flag/option, the repeat* group property has been changed to specify absolute number of test runs. Previously {repeat,N} meant "execute the group 1 time + N repeats". Now it means "execute the group N times".
2010-06-09Fix so that ct_run converts relative diretories in the code path to absolutePeter Andersson
Directories added with run_test -pa or -pz in the pre erl_args part of the command line will be converted from relative to absolute, this to avoid confusion when Common Test switches working directory during the test run. Also fixed in this commit: Problem with timeouts during init_tc or end_tc (in the Test Server framework).
2010-06-09Fix bug in handling framework:end_tc timeoutsPeter Andersson
2010-06-09Fix bug that prevents the interactive shell mode to start properlyPeter Andersson
2010-06-09Fix failing multiply timetrap test casePeter Andersson
2010-06-09Minor fixes in code and test suitesPeter Andersson
2010-06-09Add support for executing pre-loaded suites (e.g. modules loaded as binaries)Peter Andersson
Also fixed bug in test_server that calls end_per_testcase after test case timeout or abortion.
2010-06-09Add test suite for remote loading of binary suitesPeter Andersson
2010-06-09Fix error with {repeat,0} property in groups causing double iterationsPeter Andersson