aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/cth_log_redirect.erl
AgeCommit message (Collapse)Author
2017-02-21[ct] Update built-in ct hooks with new Suite parameterSiri Hansen
The Suite parameter is added to all group- and testcase hook callbacks. This commit updates cth_conn_log and cth_log_redirect according to this new API.
2016-06-13Fix problem with incorrect type of timestampsPeter Andersson
OTP-13615
2016-05-04Merge branch 'maint-18'Henrik Nord
Conflicts: OTP_VERSION lib/common_test/test/ct_hooks_SUITE_data/cth/tests/ct_update_config_SUITE.erl lib/common_test/vsn.mk
2016-05-02Fix various log related problemsPeter Andersson
2016-03-15update copyright-yearHenrik Nord
2016-03-05Add missing internal hook functionsPeter Andersson
2015-06-18Change license text to APLv2Bruce Yinhe
2013-11-29Fix CT hook pre_end_per_group causing crash when returning {skip,Reason}Peter Andersson
OTP-11409
2013-10-18common_test: Add terminate/1Fredrik Gustafsson
2013-10-11common_test: added code_change/3 for gen_event behaviourFredrik Gustafsson
2013-09-16The gen_event callback module expects terminate/2, not terminate/1Roberto Aloi
2013-09-11Make builtin hook respond to init:stopPeter Andersson
2013-09-03Find and fix minor bugsPeter Andersson
2013-08-28Tag sasl and error reports with suite, group, and function in logPeter Andersson
2013-04-16[common_test] Use max importance when logging errorsSiri Hansen
This commit adds ?MAX_IMPORTANCE to error notifications in the test case log, and it makes sure that the printout says "CT Error Notification". Printouts from cth_log_redirect (sasl and error_reports) uses ?STD_IMPORTANCE and states "System" in the printout.
2012-10-30[common_test] Extend timer for flushing error loggerSiri Hansen
OTP-10040 If a busy test case generated lots of error messages, cth_log_redirect:post_end_per_testcase would crash with a timeout while waiting for the error logger to finish handling all error messages. The default timer is 5 seconds. This has now been extended to 5 minutes.
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-06Merge remote branch 'origin/peppe/common_test/otp-9941-9955' into maintPeter Andersson
* origin/peppe/common_test/otp-9941-9955: Fix problem with handling error_logger events OTP-9941 OTP-9955
2012-03-02Fix problem with handling error_logger eventsPeter Andersson
OTP-9941 OTP-9955
2012-02-21Implement asynchronous call to print to test case log filePeter Andersson
In order to avoid possible deadlock when the cth_log_redirect hook prints via ct_logs to the test case log file, the print call must be made by a separate (temporary) process, instead of ct_logs.
2011-09-20Correct wrong match from lists:keyfindLukas Larsson
2011-09-20Update cth_log_redirect to wait for all error_logger events before ending testLukas Larsson
2011-09-20Force logging to framework log for parallel testsLukas Larsson
When parallel tests are run all logs are redirected to use ct_logs:ct_log instead of ct_logs:tc_log.
2011-09-20Add a hook for redirecting SASL and error_logger messagesLukas Larsson
SASL and error_logger messaged can now be redirected to the common_test log using a hook which is bundled with common_test.