aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_util.erl
AgeCommit message (Collapse)Author
2018-06-11Fix some unmatched_return warningsKostis Sagonas
2018-06-07common_test: Remove EDoc documentation in internal modulesHans Bolinder
2018-02-05common_test: Do not call erlang:get_stacktrace()Hans Bolinder
2017-12-04Merge branch 'maint'Peter Andersson
2017-12-04Add tests and doc for the new remaining_test_procs functionPeter Andersson
2017-10-25Implement function that finds disposable test processesPeter Andersson
2017-10-25Tag Common Test system processes using process dictionaryPeter Andersson
2017-10-25Add app name tag in process dictionaryPeter Andersson
2017-09-15common_test: Do not use deprecated functions in string(3)Siri Hansen
2017-06-16[ct] Print unicode atoms and strings correctly in common_test logsSiri Hansen
And use correct encoding when printing to files.
2017-06-14Update copyright yearHans Nilsson
2017-05-11ct_util: Stop using get_stacktrace/0 inappropriatelyBjörn Gustavsson
The return value of erlang:get_stacktrace/0 is not defined when called like this: try Expr of Pattern -> erlang:get_stacktrace() end Currently, the stacktrace will be from a random earlier error. In a future release, it may be []. Note: We can remove the entire 'case' statement because CTHReason can never be an atom.
2016-10-24Fix problem with printouts to incorrect parent group leaderPeter Andersson
2016-06-09ct logs: Fix unmatched_return warningsZandra
2016-06-07ct_util: Fix unmatched_return warningsZandra
2016-06-07ct_config: Fix unmatched_return warningsZandra
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-02Skip pre/post test IO suite if cover or debug is runningPeter Andersson
OTP-13535 The return value of ct:get_timetrap_info/0 has been modified.
2016-03-15update copyright-yearHenrik Nord
2016-03-08Fix problems with formatted test_server printoutsPeter Andersson
2015-06-18Change license text to APLv2Bruce Yinhe
2014-04-30Fix problem with comments getting lost when running parallel test casesPeter Andersson
OTP-11898
2014-02-14Fix edoc usage errorsPierre Fenoll
Errors discovered using `erldocs`: Superfluous @hidden tag would exit edoc application; 'Multiple @spec tag': appended a @clear tag after macro condition; '@spec arity does not match': added missing argument.
2014-02-07Fix problem with logging exits that happen in init_per_testcasePeter Andersson
2014-01-28Make it possible to use raw telnet logs in parallel test case groupsPeter Andersson
2013-09-03Find and fix minor bugsPeter Andersson
2013-09-02Fix problem with start order of hooks and stopping of ct_util_serverPeter Andersson
2013-09-02Introduce pre- and post-test i/o logPeter Andersson
2013-06-27Allow calls to ct:pal and ct:print even if CT is not runningPeter Andersson
Also make sure calls to ct:log and ct:pal don't cause crash if test_server is not running (could happen during startup or shutdown of CT). OTP-11176
2013-05-29Fix faulty connection handlingPeter Andersson
OTP-10126
2013-05-24[common_test] Unregister connection if killedSiri Hansen
The symptom of this bug was that a (named) telnet connection which was open and hanging during a timetrap timeout could no longer be opened again in subsequent test cases. Since the connection was hanging, ct_telnet:close/1 which was called during end_per_testcase would fail (timeout) and cause common_test to brutally kill the connection. The bug was that the connection was not unregistered at this point. When trying to open the connection again in the next testcase, common_test attempted to reuse the same connection since it had not been unregistered. This failed since the connection in fact was dead.
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.
2013-03-13Returning '/' when given as parameter to get_testdirFredrik Gustafsson
2013-02-15Solve problem with IO deadlock in ct_util_serverPeter Andersson
2013-01-25[common_test] Update common test modules to handle unicodeSiri Hansen
* 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.
2012-08-24Solve problem with registering parallel testcasesPeter Andersson
2012-08-23Fix IO bug causing CT Hooks to hang at startupPeter Andersson
2012-08-23Merge remote branch 'origin/peppe/common_test/silent_connection' into maintPeter Andersson
* origin/peppe/common_test/silent_connection: Fix deadlock problem in connection handling Implement silent_connection for ssh Conflicts: lib/common_test/src/ct_gen_conn.erl OTP-9625
2012-08-23Merge remote branch 'origin/peppe/common_test/verbosity_level' into maintPeter Andersson
* origin/peppe/common_test/verbosity_level: Fix doc build error Implement verbosity levels and parameter for log printout importance Conflicts: lib/common_test/src/ct_logs.erl lib/common_test/src/ct_run.erl lib/common_test/src/ct_testspec.erl lib/common_test/src/ct_util.hrl lib/common_test/test/Makefile OTP-9625 OTP-10067
2012-08-17[common_test] Don't abort test run if connection process crashesSiri Hansen
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.
2012-07-13Implement verbosity levels and parameter for log printout importancePeter Andersson
2012-07-09Fix deadlock problem in connection handlingPeter Andersson
2012-07-06Implement silent_connection for sshPeter Andersson
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-08Fix problem with buffered DOWN messagesPeter Andersson
OTP-9830
2011-09-23Fix crash when CTHook init failsPeter Andersson
2011-09-23Various corrections and updates to improve error handling and reportingPeter Andersson
OTP-8933
2011-09-23Modify start options and introduce CT profilesPeter Andersson
OTP-9155: Improve handling of start options in Common Test OTP-9428: Introduce first version of CT profiles (for evaluation)
2011-04-28Make it possible to refresh the top level index page at the start of a test run.Peter Andersson
2011-04-20Fix problem with CT hook start error causing IO to be sent to wrong group ↵Peter Andersson
leader process.