aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/test/ct_error_SUITE.erl
AgeCommit message (Collapse)Author
2017-05-04Update copyright yearRaimo Niskanen
2017-02-20[ct] Correctly handle process died in init and end_per_testcaseSiri Hansen
Documentation says that a test case is skipped if init_per_testcase fails. This is correct if init_per_testcase fails in a normal way, but if it gets an exit signal causing the process to die, then the case was earlier marked as failed with reason {skip,...}. This is now corrected, so the case is auto skipped. If end_per_testcase crashes, it does not change the result of a test case, it only adds a warning in the comment field. But if it gets an exit signal causing the process to die while running end_per_testcase, then the case was earlier marked as failed in addition to this warning. This is now corrected, so the result of the test case is not changed by an exit signal during end_per_testcase.
2016-03-15update copyright-yearHenrik Nord
2016-03-03Fix remaining issuesPeter Andersson
2015-06-18Change license text to APLv2Bruce Yinhe
2015-03-18Always report ok to event handlers after successful cfg or tc funcPeter Andersson
Also make sure test_server never reports failures that can be mistaken for positive results.
2014-03-12Update test suites and fix various remaining problemsPeter Andersson
2014-02-07Fix problem with logging exits that happen in init_per_testcasePeter Andersson
2013-11-19Modify the auto_skip report for group config funcs to include group namePeter Andersson
Also correct failing test cases and find and fix remaining bugs.
2013-11-18Change report tag for failed init_per_testcase from skipped to auto_skippedPeter Andersson
2013-11-18Correct tests cases that fail because of modified eventsPeter Andersson
2013-02-22Update copyright yearsBjörn-Egil Dahlberg
2013-01-06Add verification terms in test suitePeter Andersson
OTP-10070
2013-01-05Add test case to verify that config data gets properly restoredPeter Andersson
2012-11-07Handle ct:abort_current_testcase/1 when executing parallel groupsBjörn Gustavsson
ct:abort_current_testcase/1 (which is a wrapper for the function with the same name in test_server_ctrl) would not work as expected when a group with parallel test cases was executing. Essentially, the abort_current_testcase message would be ignored until the group has finished and would then abort the end_per_group testcase for the group. Since there is no unique current testcase when a parallel group is executing, we must handle the abort_current_testcase message and return an error tuple. Also fix the bug that test_server_ctrl:abort_current_testcase/1 would always return 'ok'.
2012-11-07[common_test] Add tests for user timetraps in groupsSiri Hansen
2012-08-23Solve problems with verbosity levels and parallel test casesPeter Andersson
2012-03-30Update copyright yearsBjörn-Egil Dahlberg
2012-03-21Implement support for user controlled timetrapsPeter Andersson
OTP-9988
2012-03-14Set correct group leader for end_per_testcase process after tc timeoutPeter Andersson
Also make sure that warnings about failure or timeout of end_per_testcase (after a test case timeout) get printed in the test case log file. OTP-9666
2012-03-06Fix problem with dropped suite- and test case namesPeter Andersson
OTP-9958
2012-03-06Correct wrong location printout for ct:fail/1/2Peter Andersson
OTP-9933
2012-03-05Make line numbers show in logs for timetraps and abortionsPeter Andersson
OTP-9930
2011-12-07Change init/end_per_group/0 -> init/end_per_group/1Peter Andersson
2011-12-02Implement the group info functionPeter Andersson
OTP-9235
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-28Add missing tests for timetrap handling and fix remaining errorsPeter Andersson
OTP-9593
2011-09-23Correct error in test suitePeter Andersson
2011-09-23Fix error with incorrect notification after end_per_testcase crachesPeter Andersson
2011-09-23Fix incorrect call to end_tc when tc_status=ok and end_per_testcase times outPeter Andersson
OTP-9397
2011-08-18common_test tests: Don't do detailed testing of the stack backtraceBjörn Gustavsson
The exact layout of the stack backtrace is an implementation detail that may be changed at any time.
2011-04-28Fix problem with merging ticket branch.Peter Andersson
2011-04-28Fix problems with timetrap handling in common_test:Peter Andersson
1. ct:timetrap(infinity) not supported. 2. Previous set timetrap for a test case is not cancelled by new one.
2011-04-28Make it possible to fail test case by returning {fail,Reason} from ↵Peter Andersson
init_per_testcase.
2011-04-20Do minor updates of the ts test framework.Peter Andersson
2011-04-20Correct failing test cases.Peter Andersson
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-02-17Rename Suite Callback to Common Test HookLukas Larsson
2011-02-17Fix formatting for common test testcasesLukas Larsson
2011-02-17Add ts_install_scb to suite/0Lukas Larsson
2011-02-17Update common_test tests to conform with common_test standardLukas Larsson
2010-06-09Fix so that ct_run converts relative diretories in the code path to absolutePeter Andersson
Directories added with run_test -pa or -pz in the pre erl_args part of the command line will be converted from relative to absolute, this to avoid confusion when Common Test switches working directory during the test run. Also fixed in this commit: Problem with timeouts during init_tc or end_tc (in the Test Server framework).
2010-06-09Fix bug in handling framework:end_tc timeoutsPeter Andersson
2010-06-09Add support for executing pre-loaded suites (e.g. modules loaded as binaries)Peter Andersson
Also fixed bug in test_server that calls end_per_testcase after test case timeout or abortion.
2010-06-09Add support for config info functions (e.g. init_per_suite/0)Peter Andersson
Also fixed bug: return value {fail,Reason} from end_tc(init_per_suite) was ignored.
2010-06-09Add support for dynamic timetrap handlingPeter Andersson
2010-06-09Have end_per_testcase run even after timetrap_timeout and abort_testcasePeter Andersson
2010-06-09Improve and fix various test suitesPeter Andersson
2010-02-17OTP-8311: Various updates and fixes in Common Test and Test ServerPeter Andersson