aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_util.hrl
AgeCommit message (Collapse)Author
2019-02-11common_test: Add support for running cover:local_only/0Björn Gustavsson
2016-10-24Fix problem with printouts to incorrect parent group leaderPeter Andersson
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-02Add flag/option for disabling the character escaping functionalityPeter Andersson
OTP-13537
2016-03-15update copyright-yearHenrik Nord
2015-06-18Change license text to APLv2Bruce Yinhe
2015-04-15Introduce test categories for OTP testsPeter Andersson
2014-03-05Add flag to abort test run if suites fail to compilePeter Andersson
OTP-11769
2014-01-27Implement new telnet logging systemPeter Andersson
2013-02-22Update copyright yearsBjörn-Egil Dahlberg
2013-02-15Solve problem with IO deadlock in ct_util_serverPeter Andersson
2012-10-30[common_test] Add option cover_stopSiri Hansen
By default, test_server will always stop cover (and thus load back the non cover compiled original beam files) after a test with code coverage analysis is completed. The new option allows the common_test user to specify that cover shall not be stopped. This can be useful if there are processes still running old code, i.e. processes that have not done any fully qualified function call after the cover compilation, since loading the original code then will kill those processes. This is only recommended if the erlang node is to be stopped after the test run, or if cover can be manually stopped.
2012-08-27Make sure the test can never hang when ct:break/1/2 is calledPeter Andersson
2012-08-24Add silent_connections term to test specificationPeter Andersson
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-23Merge remote branch 'origin/peppe/common_test/testspec_updates' into maintPeter Andersson
* origin/peppe/common_test/testspec_updates: Test new testspec functionality and correct bugs Implement constants and new features for test specifications Conflicts: lib/common_test/src/ct_run.erl lib/common_test/test/Makefile OTP-10049 OTP-10089 OTP-10145
2012-08-23Merge branch 'peppe/common_test/table_sorter' into maintPeter Andersson
* 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
2012-08-21Implement constants and new features for test specificationsPeter Andersson
OTP-10049 OTP-10089
2012-08-17[common_test] Add netconf client, ct_netconfcSiri Hansen
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}
2012-07-13Implement verbosity levels and parameter for log printout importancePeter Andersson
2012-07-06Make it possible to sort the HTML tablesPeter Andersson
OTP-9896 Introduce java scripts in the web pages to enable sorting of table elements.
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-13Change the option name 'unique_priv_dir' to 'create_priv_dir'Peter Andersson
The new values for create_priv_dir are: auto_per_run, auto_per_tc, manual_per_tc
2012-03-13Make it possible to use unique priv_dir namesPeter Andersson
Introduce the optional feature to have Test Server generate priv_dir directory names that are unique for each test case or config function. The name of the option/flag is 'unique_priv_dir' and it can be set to value 'auto' or 'manual'. If auto, Test Server creates each priv_dir automatically (can be expensive in case of many and/or repeated cases). If manual, the user needs to create the priv_dir explicitly by calling ct:make_priv_dir/0.
2011-10-04Merge branch 'dev' into majorLukas Larsson
* dev: (38 commits) Update documentation Rid ct_telnet of doc build warnings Create temporary fix for problem with parallel test cases Update primary bootstrap Correct "Missing Suites" link Add documentation on timetraps and start flags Add missing tests for timetrap handling and fix remaining errors Solve problem with ct_init/end_per_group being counted as test cases Fix errors in test suites Fix invalid call to undefined function Fix problem with test_server_ctrl creating invalid conf test Improve info in CT framework log Update vsn.mk for common_test and test_server Enhance logging performance Change order of include files Add link to last executed test suite on index page Fix problem with location value when init config func calls help func Fix crash when CTHook init fails Correct error in test suite Fix error with incorrect notification after end_per_testcase craches ... Conflicts: bootstrap/bin/start.boot bootstrap/bin/start_clean.boot bootstrap/lib/compiler/ebin/beam_asm.beam bootstrap/lib/compiler/ebin/beam_disasm.beam bootstrap/lib/compiler/ebin/compile.beam bootstrap/lib/compiler/ebin/sys_pre_expand.beam bootstrap/lib/kernel/ebin/code.beam bootstrap/lib/kernel/ebin/code_server.beam bootstrap/lib/kernel/ebin/hipe_unified_loader.beam bootstrap/lib/kernel/ebin/inet.beam bootstrap/lib/kernel/ebin/inet_config.beam bootstrap/lib/kernel/ebin/inet_dns.beam bootstrap/lib/stdlib/ebin/beam_lib.beam bootstrap/lib/stdlib/ebin/dets.beam bootstrap/lib/stdlib/ebin/erl_compile.beam bootstrap/lib/stdlib/ebin/erl_internal.beam bootstrap/lib/stdlib/ebin/erl_scan.beam bootstrap/lib/stdlib/ebin/erl_tar.beam bootstrap/lib/stdlib/ebin/io_lib_fread.beam bootstrap/lib/stdlib/ebin/otp_internal.beam bootstrap/lib/stdlib/ebin/sofs.beam bootstrap/lib/stdlib/ebin/supervisor.beam bootstrap/lib/stdlib/ebin/zip.beam lib/common_test/src/ct.erl lib/common_test/src/ct_run.erl lib/common_test/test/ct_error_SUITE.erl lib/common_test/test/ct_repeat_1_SUITE.erl lib/common_test/test/ct_skip_SUITE.erl lib/test_server/src/test_server.erl
2011-09-23Introduce new 'logopts' flagPeter Andersson
Introduce new 'logopts' flag and make it possible to modify the default logging behaviour OTP-9372 OTP-9396
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-09-20Add -enable_builtin_hooks <bool> config optionLukas Larsson
This option allows ct users to disable the default hooks which are installed when common_test is started. The builtin hooks themselved are listed in ct_hooks. OTP-9564
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-02-28Merge branch 'lukas/common_test/test_order_wrong/OTP-9026' into devLukas Larsson
* lukas/common_test/test_order_wrong/OTP-9026: Add test event info for the old tests Update test spec parser to not group suites, groups and cases which are hierarchically related if merge_tests config i set to false Add test cases for test spec ordering of testcases in spec Conflicts: lib/common_test/test/ct_testspec_1_SUITE.erl
2011-02-17Rename Suite Callback to Common Test Hook in code and testcasesLukas Larsson
2011-02-15Update test spec parser to not group suites, groups and cases which are ↵Lukas Larsson
hierarchically related if merge_tests config i set to false
2010-12-08Add support for suite_callback in spec, command_line and interactive. Start ↵Lukas Larsson
work on suite_callback functionality.
2010-07-06Add new option to label test runsPeter Andersson
With the option 'label', the test run gets a user defined name that Common Test prints in the overview log files.
2010-06-09Improve and fix various test suitesPeter Andersson
2010-06-09Make it possible to run ts tests for Common Test via the ↵Peter Andersson
ct_run:script_start() interface The possibility to pass start arguments to ct_run:start_script/0 by means of an application environment variable has been implemented. This will be used by ct_test_support for automatic testing of all common_test start interfaces.
2010-06-09Move 'node_start' and 'eval' terms into new 'init' termAndrey Pampukha
node_start+eval -> init(node_start, eval) Also include some documentation updates.
2010-06-09Improve eval and node_start and add new options for ct_slaveAndrey Pampukha
2010-06-09Add support for user_config in ct_masterAndrey Pampukha
2010-06-09Add test suites for configurationAndrey Pampukha
2010-02-17OTP-8311: Various updates and fixes in Common Test and Test ServerPeter Andersson
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP