aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
AgeCommit message (Collapse)Author
2019-02-15Merge branch 'maint'Siri Hansen
2019-02-15Merge branch ↵Siri Hansen
'siri/ct/post_end_per_testcase-change-status/ERIERL-282/OTP-15584' into maint * siri/ct/post_end_per_testcase-change-status/ERIERL-282/OTP-15584: [ct] Allow post_end_per_testcase hook to change tc status after timetrap
2019-02-13Merge pull request #2137 from bjorng/bjorn/tools/coverBjörn Gustavsson
Use the counters module to speed up cover OTP-15575
2019-02-11common_test: Add support for running cover:local_only/0Björn Gustavsson
2019-02-11Merge branch 'maint'Sverker Eriksson
2019-02-11Merge branch 'siri/ct_netconfc/edit-config-list/OTP-15298' into maintSiri Hansen
* siri/ct_netconfc/edit-config-list/OTP-15298: [ct] Allow ct_netconfc:edit_config/3,4,5 to take a list of XML elements
2019-01-31[ct] Allow ct_netconfc:edit_config/3,4,5 to take a list of XML elementsSiri Hansen
The yang RFC allows more than one top element of config data in an edit-config element.
2019-01-31[ct] Add option {newline,string()} to ct_telnet:cmd and ct_telnet:sendSiri Hansen
By default, each command is appended with "\n", but in some cases a command must end with "\r\n" to evaluate correctly. This can now be specified with option {newline,"\r\n"}.
2019-01-30[ct] Improve error handling of bad regular expressions to ct_telnetSiri Hansen
2019-01-21Merge branch 'maint'Siri Hansen
2019-01-17common_test: Adjust some calls to io:format()Hans Bolinder
2019-01-16Fix encrypt_config_file and decrypt_config_fileYakubovsky Dmitriy
Variable Key is the input parameter and it will never match to the "Key" result of make_crypto_key/1 In current case we'll always receive bad match when using encrypt_config_file and decrypt_config_file functions.
2018-12-20[ct] Allow post_end_per_testcase hook to change tc status after timetrapSiri Hansen
2018-09-26Use os:getenv/2 where possiblePeter Lemenkov
Signed-off-by: Peter Lemenkov <[email protected]>
2018-08-13Merge pull request #1836 from kostis/common_test-warningsSiri Hansen
Fix some unmatched_return warnings
2018-08-08Eliminate one more unmatched_return warningKostis Sagonas
2018-07-27Change "can not" into "cannot"Raimo Niskanen
I did not find any legitimate use of "can not", however skipped changing e.g RFCs archived in the source tree.
2018-07-27Remove newline between can and notRaimo Niskanen
After this whitespace modification there should be no "can not"s separated by a newline in the entire OTP repository, so to find them all a simple git grep will do just fine.
2018-07-13Don't call report_cb from cth_log_redirect - formatter does thatSiri Hansen
2018-06-18Update copyright yearHenrik Nord
2018-06-14No export_all warning when compiling test suitesPeter Andersson
OTP-14810
2018-06-11Fix some unmatched_return warningsKostis Sagonas
2018-06-08[logger] Change base OTP domain from [beam,erlang,otp] to [otp]Siri Hansen
2018-06-07common_test: Remove EDoc comments in internal modulesHans Bolinder
2018-06-07common_test: Remove EDoc documentation in internal modulesHans Bolinder
2018-06-07common_test: Remove EDoc documentation in public modulesHans Bolinder
2018-05-16Merge branch 'richcarl/eliminate_lib_module/PR-1786/OTP-15072'Hans Bolinder
* richcarl/eliminate_lib_module/PR-1786/OTP-15072: Fix minor issues Eliminate call to ct:get_progname() in ts_erl_config Use \n escape instead of integer 10 Move error formatting to erl_error.erl and delete lib.erl Move extended parse functions in lib.erl to erl_eval.erl Move lib:eval_str/1 into mod_esi.erl Remove lib:progname/0 Eliminate call to lib:progname/1 in slave.erl Add ct:get_progname/0 Remove lib:error_message/2 Remove lib:flush_receive/0 Remove lib:send/2 and lib:sendw/2 Move lib:nonl/1 into yecc.erl
2018-05-04Move error formatting to erl_error.erl and delete lib.erlRichard Carlsson
2018-05-04Add ct:get_progname/0Richard Carlsson
This replaces all uses of lib:progname/0 in tests.
2018-05-03Set single_line=true by default in logger_formatterSiri Hansen
2018-04-26Update cth_log_redirect to a logger handlerSiri Hansen
2018-03-28common_test: Remove dependency to inets ftpPéter Dimitrov
- Update ct_ftp to use the new FTP application. Change-Id: I84223107361132ea3144cdf7421738c4bebffa40
2018-03-27Merge branch 'dgud/testcase-fixes'Dan Gudmundsson
* dgud/testcase-fixes: debug info add unicode opt env may contain unicode signs Fix lexemes conversion
2018-03-16more-typos: s%follwing%following%gPierre Fenoll
2018-03-16mikpe/process_info-1-no-messages/PR-1745/OTP-14986Lukas Larsson
make erlang:process_info/1 not retrieve messages
2018-03-10make erlang:process_info/1 not retrieve messagesMikael Pettersson
process_info/1 retrieves a number of properties related to a process, including the list of messages in its mailbox. This is potentially unsafe if the target process has a large number of queued messages: - there is no a priori upper bound on the amount of memory being allocated to hold that list, and - the loop to retrieve the messages is uninterruptible, so the Erlang scheduler where this executes blocks for the duration We've seen process_info/1 bring down heavily loaded nodes on more than one occasion. At least once it appeared to have blocked the Erlang heart process from executing, causing the external heart to kill the VM. Consequently this removes 'messages' from the list of process_info tags to retrieve for process_info/1. Note that process_info/1 still retrieves 'message_queue_len', and process_info/2 can still retrieve 'messages' when asked to. A few places in the OTP libraries need minor adjustments, since they want 'message_queue_len' but compute it from the length of the list of messages.
2018-03-08common_test: Use uri_stringPéter Dimitrov
Change-Id: If9b7c1252642d31e6b802e8410883bfa26292674
2018-02-05common_test: Do not call erlang:get_stacktrace()Hans Bolinder
2018-01-26Merge branch 'maint'Peter Andersson
2018-01-26Fix skip_groups option in combination with all suites in test specPeter Andersson
2017-12-04Merge branch 'maint'Peter Andersson
2017-12-04Merge branch 'peppe/common_test/auto_cleanup/OTP-13832' into maintPeter Andersson
* peppe/common_test/auto_cleanup/OTP-13832: Add tests and doc for the new remaining_test_procs function Implement function that finds disposable test processes Tag Common Test system processes using process dictionary Add app name tag in process dictionary OTP-13832
2017-12-04Add tests and doc for the new remaining_test_procs functionPeter Andersson
2017-12-04Merge branch 'maint'Peter Andersson
2017-12-04Show links to latest test run by using an html redirection filePeter Andersson
2017-11-02[ct] Remove call to application:which_applications()Siri Hansen
The cth_log_redirect hook calls this function to check if the sasl application is started. This is done for each error logger event. In most systems, this is not a big problem, but on native compiled code this call can be very slow if the message queue is long. This is because huge message queue optimization is not implemented for native.
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-10-20Fix lexemes conversionDan Gudmundsson