Age | Commit message (Collapse) | Author |
|
* origin/peppe/common_test/hook_init_order:
Call CT Hook init functions in the correct order
OTP-10135
|
|
* peppe/common_test/table_sorter:
Fix installation of javascript files on windows
Fix installation of javascript files
Make it possible to sort the HTML tables
Conflicts:
lib/common_test/src/ct_util.hrl
OTP-9896
|
|
* origin/peppe/common_test/exit_status:
Implement support for returning valid exit status from ct_run
OTP-9865
OTP-10087
|
|
* origin/peppe/common_test/ct_hooks_errors:
Fix IO printout crash caused by hook function
Fix timetrap error in pre-hooks
Conflicts:
lib/common_test/src/cth_surefire.erl
OTP-10050
OTP-10069
OTP-10072
|
|
|
|
When opening a connection, the connection process would link itself to
ct_util_server before calling the init callback, e.g. in ct_netconfc,
ct_telnet etc. If the init callback failed, then ct_util_server would
get the 'EXIT'. ct_util looks up the pid in the connection table, but
since the connection is not yet registered it is not found. ct_util
does not know which process it is and will thus die - aborting the
complete test run.
This commit moves the link(CtUtilServer) after the init callback, so a
crash in the init callback will not be detected by ct_util_server -
the caller process, however, will get a 'DOWN' message due to
monitoring and ct_gen_conn:start will give an error return.
|
|
Earlier, it was possible to open connection (ct_gen_conn) with the
same (required) name twice, which could give unexpected results. Such
attempts will now return {error,{connection_exists,OtherClient}}.
|
|
Earlier ct_util_server would terminate and thus abort the complete
test run if a connection process (ct_gen_conn) crashed. This is now
changed so that ct_util will only print an error report (in the test
case log) and continue the rest of the test.
|
|
The netconf client supports basic netconf functionality over SSH. In
order to allow testing of both success and failure cases, it is
intentionally written to allow non-standard behavior.
In order for the netconf client to use the generic connection
mechanism in common_test, ct_gen_conn has been updated to be more
flexible:
Added options:
{reconnect,bool()}
{forward_messages,bool()}
{use_existing_connection,bool()}
Allow handle_msg to return
{reply,Reply,State} |
{noreply,State} |
{stop,Reply,State}
If forward_messages==true, the ct_gen_conn callback must also
implement:
handle_msgs(Msg,State) -> {noreply,State} | {stop,State}
|
|
|
|
* lukas/common_test/surefire_fix_skipped_end/OTP-10158:
Fix bug where auto skipped tcs would disappear
Allow non configlist returns from other cths
Fix close of suite when end_per_suite is skipped
|
|
|
|
|
|
OTP-9896
Introduce java scripts in the web pages to enable sorting
of table elements.
|
|
OTP-10135
|
|
OTP-10106
OTP-10107
|
|
|
|
Also change the return value of the ct:run_test/1 function.
OTP-9865
OTP-10087
|
|
|
|
|
|
|
|
|
|
|
|
* peppe/common_test/otp-10039:
Document the new timetrap interface
|
|
OTP-10039
|
|
|
|
* ta/docs-maint:
Fix typos in ct getting_started_chapter.xml
Fix typos in driver.xml and erl_driver.xml
Fix typos in INSTALL-WIN32.md
OTP-10037
|
|
OTP-9972
OTP-9659
OTP-9855
OTP-9880
OTP-9973
OTP-9986
OTP-9992
OTP-9935
|
|
* origin/peppe/common_test/otp-10022:
Fix problem with wrong data_dir sent to hooks if init_per_* is missing
|
|
|
|
|
|
* origin/peppe/common_test/otp-9988_9871.merged:
Fix various problems with the user timetrap implementation
Fix dialyzer reported errors
Implement support for user controlled timetraps
OTP-9988
|
|
* origin/peppe/common_test/otp-9973:
Update ct_master to use the Common Test CSS file for the logs
OTP-9973
|
|
* origin/peppe/common_test/otp-10011:
Document the create_priv_dir option for ct:run_test/1
|
|
'lukas/common_test/fix_disable_builtin_hooks_from_spec/OTP-10009' into maint
* lukas/common_test/fix_disable_builtin_hooks_from_spec/OTP-10009:
Change default of enable builtin hooks to undefined
Disable built in hooks for emulator
|
|
peppe/common_test/otp-9988_9871.merged
Conflicts:
lib/common_test/src/ct_framework.erl
|
|
|
|
OTP-9973
|
|
|
|
* lukas/common_test/add_surefire_hook/OTP-9995:
Add the surefire ct hook
|
|
|
|
OTP-9988
|
|
The hook should work with modern versions of Jenkins CI
to gather test results.
|
|
OTP-9989
Also improve ct_hooks test suite.
|
|
|
|
|
|
Now that calls to ct_framework:init/end_per_suite take place
whenever init/end_per_suite is missing in the test suite,
these calls should trigger init/end_tc to perform configuration
(such as calling calling CTH functions, suite/0, etc).
|
|
OTP-9986
|
|
|
|
* origin/peppe/common_test/otp-9666:
Set correct group leader for end_per_testcase process after tc timeout
OTP-9666
|