aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src/ct_run.erl
AgeCommit message (Collapse)Author
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-27Fix invalid call to undefined functionPeter Andersson
OTP-9585
2011-09-23Repair and improve the vts modePeter Andersson
OTP-9429
2011-09-23Implement support for running suites with test case groups through the debuggerPeter Andersson
OTP-9518
2011-09-23Various corrections and updates to improve error handling and reportingPeter Andersson
OTP-8933
2011-09-23Fix incorrect module name arg to FW:end_tc/3Peter Andersson
OTP-9379
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 logdir string and some other minor bugsPeter Andersson
OTP-9370: Fix problem with crash if logdir contains multiple dirs OTP-9155: Fix some minor remaining bugs
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-08-31Add priority functionality and tests for ct hooksLukas Larsson
Priority allows the user of ct hooks to specify which order the hooks should execute in. The priority of a hook is specified when installing the hook, and stays the same for both pre and post hooks
2011-04-28Make it possible to refresh the top level index page at the start of a test run.Peter Andersson
2011-04-20Fix problem with CT hook start error causing IO to be sent to wrong group ↵Peter Andersson
leader process.
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-02-17Cleanup code to fix dialyzer warningLukas Larsson
2011-02-17Rename Suite Callback to Common Test Hook in code and testcasesLukas Larsson
2010-12-09Added tests for starting SCB's with arguments and fixed a bug with how SCB's ↵Lukas Larsson
are parsed from the command line
2010-12-08Add so that failures in SCB:init/1 causes the entire scb scope to failLukas Larsson
2010-12-08Update input parameter for suite callbacks to be called suite_callbacks when ↵Lukas Larsson
given from both erlang shell and ct_run command
2010-12-08Expand tracing functions to be more verboseLukas Larsson
2010-12-08Update ct_trace me to include calling functionsLukas Larsson
2010-12-08Add support for suite_callback in spec, command_line and interactive. Start ↵Lukas Larsson
work on suite_callback functionality.
2010-11-29Update edoc and command line help documentation to reflect change from ↵Lukas Larsson
run_test to ct_run
2010-09-10Merge branch 'peppe/common_test/dev/OTP-8753' into devLukas Larsson
* peppe/common_test/dev/OTP-8753: Fix problem with prepared_tests tuple not being recognized Add verification terms to test suite Fix various test suite, makefile, and doc related problems Fix error in the repeat_until_* group property handling Add test suite for groups with repeat property Add verification events to sequence group test suite Fix error in handling of sequence groups Fix error in test suite Fix problems with sequences and sub-groups Add test cases to sequence suite Fix error with group term in ct:run_test/1 Add test suite to examplify problem with nested groups in a sequence
2010-09-10OTP-8818: Fixed inconsistency in ct:start_interactive callLukas Larsson
2010-09-06Fix problem with prepared_tests tuple not being recognizedPeter Andersson
2010-09-02Fix error with group term in ct:run_test/1Peter Andersson
Also some new test cases on sequence groups have been added.
2010-07-06Improve handling of test case group specificationsPeter Andersson
Still a few things missing: * Documentation * More tests * Fix old broken test cases
2010-07-06Improve handling of test case group specificationsPeter Andersson
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-07-06Implement handling of group specificationsPeter Andersson
It's possible now to specify execution of test case groups (and test cases within groups) by means of run_test options and test specification terms. From test specifications, groups (and test cases) may also be skipped. ct_run has been improved to report errors better. New test suites have been introduced.
2010-07-06Fix problem with using the wrong logdir settingPeter Andersson
The default logdir value "." overrides setting in test specification if logdir start flag/option is missing.
2010-07-06Rewrite handling of group definitions in Common Test test suitesPeter Andersson
This is to enable execution of specific groups, and/or test cases within groups, by means of run_test options or test specifications.
2010-06-09Add documentation for run_test programPeter Andersson
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 that prevents the interactive shell mode to start properlyPeter Andersson
2010-06-09Minor fixes in code and test suitesPeter 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 dynamic timetrap handlingPeter Andersson
2010-06-09Have end_per_testcase run even after timetrap_timeout and abort_testcasePeter Andersson
2010-06-09Flush old DOWN messages in demonitorPeter Andersson
2010-06-09Add groups in test specificationsPeter Andersson
Ongoing work...
2010-06-09Improve and fix various test suitesPeter Andersson
2010-06-09Add event_handler_init start flag that can pass init arguments to event handlersPeter Andersson
Also changed: The userconfig option in ct:run_test/1 from 3-tuple to 2-tuple.
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-09Implement support for user controllable timetrap parameters (multiply and scale)Peter Andersson
Documentation still missing.
2010-06-09Improve documentation and fix minor problemsPeter Andersson
General documentation and code updates.
2010-06-09Add run_test program for Common TestPeter Andersson
Common Test may now be started with the program run_test instead of the legacy shell script with the same name. Minor updates have also been made to the Webtool application.
2010-06-09Separate config and user_config in test specificationsAndrey Pampukha
This is now properly supported in the ct_run.
2010-06-09Changed return value tags for config file handlingAndrey Pampukha
Return value tags modified and various documentation updates made (work in progress).