aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/test_server_ctrl.erl
AgeCommit message (Collapse)Author
2012-10-23Clean up initialization of parallel test casesBjörn Gustavsson
2012-10-23Introduce is_io_buffered/0 to somewhat improve readabilityBjörn Gustavsson
Note that there are some more direct use of: get(test_server_common_io_handler) that cannot be replaced with a call to is_io_buffered/0.
2012-10-23test_server_ctrl: Consistently use set_io_buffering/1Björn Gustavsson
Since we will want to change the implementation of I/O buffering in a future commit, make sure that all updates of the buffering state is done by calling set_io_buffering/1.
2012-10-01Merge branch 'bjorn/test_server/dialyzer-fixes'Björn Gustavsson
* bjorn/test_server/dialyzer-fixes: test_server_ctrl: Don't use undocumented features of io:format() Fix obsolete assumption for the return type of os:type/0
2012-09-27Merge branch 'dgud/ct/fix-trashed-logs/OTP-10369'Dan Gudmundsson
* dgud/ct/fix-trashed-logs/OTP-10369: [ct] Shorten testcase names Shorten testcase names [ct] Block output into single io call
2012-09-26test_server_ctrl: Don't use undocumented features of io:format()Björn Gustavsson
The Format string argument for io:format/3 is not documented to accept an iolist, so we should not depend on it. Fix the problem by using io:put_chars/2 instead.
2012-09-19[ct] Block output into single io callDan Gudmundsson
Add newlines to the same io function call, so that concurrent io always starts at a new line.
2012-09-19Teach test_server to report severe errors to common_testBjörn Gustavsson
If a severe error occurs in test_server (e.g. failing to write to log files), test_server would terminate without commont_test knowing about it. Since ct_run can now return an exit code, it is important that common_test is aware of severe problem so that it can indicate that an error has occurred.
2012-09-19test_server_ctrl: Present "cannot create log dir" errors more neatlyBjörn Gustavsson
2012-09-19test_server_ctrl: Don't die in stop_extra_tools/1Björn Gustavsson
If it is not possible for test_server_ctrl:start_log_file/0 to create the log file directory or log files, then stop_extra_tools/1 (called from init_tester/10) is also likely to crash and hide the original error reason. That will be confusing to the user. Therefore, catch the call to stop_extra_tools/1.
2012-08-23Merge branch 'maint'Peter 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 branch 'maint'Peter Andersson
2012-07-19test_server: Remove VxWorksBjörn-Egil Dahlberg
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-26Fix problem with wrong data_dir sent to hooks if init_per_* is missingPeter Andersson
2012-03-19Use calls to ct_framework:init/end_per_suite for configurationPeter Andersson
Now that calls to ct_framework:init/end_per_suite take place whenever init/end_per_suite is missing in the test suite, these calls should trigger init/end_tc to perform configuration (such as calling calling CTH functions, suite/0, etc).
2012-03-19Run hooks for non-existing config functionsPeter Andersson
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.
2012-03-13Create entry for every repeated test in index.htmlPeter Andersson
For each repeated test during a test run, an entry is created in the index.html file (i.e. the overview file for the test run). In the top level (logdir) index file, only the last test result is listed. E.g, given the test spec: [{merge_tests,false},{dirs,testobj1},{dirs,testobj1}] In the index file for the test run (under Logdir/ct_run.Node.Date.Time), both dir tests are listed. In the top level index file (under Logdir), only the last test is listed (one has to find all results through the all_runs.html file).
2012-03-12Add column for group name in suite overview log filePeter Andersson
OTP-9730
2012-03-02Fix problem with handling error_logger eventsPeter Andersson
OTP-9941 OTP-9955
2011-12-09Merge remote branch 'origin/peppe/common_test/groups'Peter Andersson
* origin/peppe/common_test/groups: Change init/end_per_group/0 -> init/end_per_group/1 Add config info suite Add tests for group specification and info function Implement support for overriding group properties with test specification Implement support for overriding group properties with all/0 Implement the group info function OTP-9235 OTP-9569 OTP-9809
2011-12-07Merge remote branch 'origin/peppe/common_test/report_logfile'Peter Andersson
* origin/peppe/common_test/report_logfile: Get test case log file name reported to user OTP-9676
2011-12-07Add tests for group specification and info functionPeter Andersson
2011-12-02Implement the group info functionPeter Andersson
OTP-9235
2011-11-30Get test case log file name reported to userPeter Andersson
2011-11-30Bugfixes and improvements of the the CSS stylesheet implementationPeter Andersson
2011-11-18Make absolute paths in log files relativePeter Andersson
2011-11-14Copy default CSS file to log directory before test runPeter Andersson
The log files should be independent of the Common Test installation.
2011-11-13Add CSS stylesheet for the text and tables in Common Test and Test ServerPeter Andersson
Also make general improvements of presentation of results. OTP-9706
2011-09-27Fix problem with test_server_ctrl creating invalid conf testPeter Andersson
OTP-9584
2011-09-23Introduce new framework callback function to read info about color of commentsPeter Andersson
OTP-9237
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-23Fix problem with automatically generated init & end-config functions for groupsPeter Andersson
OTP-9369
2011-09-23Fix error with test_server not releasing SASL TTY handlersPeter Andersson
OTP-9311
2011-09-15Fix misspelling of compatibilityTuncer Ayaz
2011-04-28Have test_server locate the source code file for a test suite module if it's ↵Peter Andersson
not in the same directory as the beam file.
2011-04-28Make it possible to refresh the top level index page at the start of a test run.Peter Andersson
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-02-17Merge branch 'lukas/common_test/updates_needed_before_migration/OTP-8768' ↵Lukas Larsson
into dev * lukas/common_test/updates_needed_before_migration/OTP-8768: Update ts to take the config path as an invironmental and as a variables passed with all_tests and also with the normal run Update TEST_SERVER_FRAMEWORK os variable to be regarded as undet if set to undefined Fix bug with subgroups after introduction of remote groups Rename Suite Callback to Common Test Hook Update so that cover is skipper for applications without a .cover file Update minimal build target to include runtime_tools and common_test Update ts to start common test with both ts.config and ts.PLATFORM.config Update ts scb to add nodenames in all pre_init clauses Add release/tests/test_server to path Add ts_install_scb which is a common_test SCB that handles making of test modules. Update ts to work with common test instead of test_server Add kill_slavenodes/0 as an exported function Change format of remote groups to {group, Module, GroupName}, note that this is an unsupported feature Add possibility to get all testdata Fix bug when groups refer to groups in the groups/0 function Add support for external groups. Refactor code to make it easier to debug Update so that when asking for os and we are in the test_server_ctrl process, just use os:type(). Fix so that groups can return external test cases, i.e.
2011-02-16Update TEST_SERVER_FRAMEWORK os variable to be regarded as undet if set to ↵Lukas Larsson
undefined
2011-01-24Add kill_slavenodes/0 as an exported functionLukas Larsson
2010-12-08Update ct_framework calls to allow manipulation of test results in end_tc ↵Lukas Larsson
without breaking backwards compatability (I hope)
2010-12-06Update so that when asking for os and we are in the test_server_ctrl ↵Lukas Larsson
process, just use os:type().
2010-09-06Fix error in the repeat_until_* group property handlingPeter Andersson
2010-09-02Fix error in handling of sequence groupsPeter Andersson