aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
AgeCommit message (Collapse)Author
2019-04-16Merge branch 'maint'Siri Hansen
2019-04-16Merge branch 'siri/ct/fuzzer_support/ERIERL-143/OTP-14746' into maintSiri Hansen
* siri/ct/fuzzer_support/ERIERL-143/OTP-14746: [ct] Fix bug with faulty suite name in end_per_suite config [ct] Add {testcase,TC,RepeatProps} syntax for repeating test cases [ct] Add post_groups/2 and post_all/3 hook functions
2019-04-16Merge branch 'maint'Siri Hansen
2019-04-16Merge branch 'siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758' into maintSiri Hansen
* siri/ct/safe-write-log-cache/ERIERL-342/OTP-15758: [ct] Make sure log cache file is completely written before it is read
2019-04-16Merge branch 'maint'Siri Hansen
2019-04-16Merge branch 'siri/ct/reset_curr_tc/ERIERL-334/OTP-15717' into maintSiri Hansen
* siri/ct/reset_curr_tc/ERIERL-334/OTP-15717: [ct] Cleanup after timetrap timeout or kill during framework call or hook
2019-04-15[ct] Fix bug with faulty suite name in end_per_suite configSiri Hansen
2019-04-15[ct] Add {testcase,TC,RepeatProps} syntax for repeating test casesSiri Hansen
2019-04-15[ct] Add post_groups/2 and post_all/3 hook functionsPeter Andersson
2019-04-15[ct] Cleanup after timetrap timeout or kill during framework call or hookSiri Hansen
If a framework callback function exits due to a timetrap timeout, or the process in other way is killed, during the execution of such function, some internal common_test data was not cleaned up. An example of such data is the 'curr_tc' test data. This is now corrected.
2019-04-11test_server_node: Bump compiler compatibility version to OTP 20Björn Gustavsson
2019-04-10[ct] Make sure log cache file is completely written before it is readSiri Hansen
This fixes a timing problem where the file could exist but be empty due to simultaneous read and write from two different nodes.
2019-04-08Clear ERL_AFLAGS when starting a previous releaseBjörn Gustavsson
When starting a slave or peer node, options in ERL_AFLAGS might not be valid for the previous release. For instance, "-emu_type lcnt" would only work if the previous release happened to have been built with a lock counting emulator.
2019-04-04Merge branch 'maint'Rickard Green
* maint: Find installed OTP for Ubuntu
2019-04-04Merge branch 'rickard/ts-find-ubuntu-inst/OTP-15716' into maintRickard Green
* rickard/ts-find-ubuntu-inst/OTP-15716: Find installed OTP for Ubuntu
2019-04-03Find installed OTP for UbuntuRickard Green
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