aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src
AgeCommit message (Collapse)Author
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
2011-03-02Fix bug where failing to make a testcase caused an errornous failure reasonLukas Larsson
2011-02-28Merge branch 'lukas/test_server/ts_migration/OTP-8768' into devLukas Larsson
* lukas/test_server/ts_migration/OTP-8768: Update test_server tests to conform with common_test standard Remove old test_server code
2011-02-28Merge branch 'lukas/tools/cover_mem_footprint/OTP-9043' into devLukas Larsson
* lukas/tools/cover_mem_footprint/OTP-9043: Update testcases which need crypto to be skipped on platforms which does not have crypto Update internal pmap to have a process limit Add write concurrancy to cover masters ?COVER_TABLE Update documentation to reflect performance enhancement changes of cover Add aync_analyse_to_file function to cover Split the cover ets tables into two tables, one with the clause info and one with the bump info. This will make it faster to search the tables when analyzing and exporting data. Add process debug tags Update remote collect to handle multiple requests at once Remove io printout warnings when exporting an imported module Make the call to cover parallel so that the test_server takes advantage of the new cool parallel cover features. Update cover to allow multiple analyse and analyze_to_file calls at the same time. For each call a seperate process will be spawned to handle the request. Refactor cover to prepare it for making analysis parallel Update remote loading to only load a certain number of modules at a time to prevent memory usage explosion Conflicts: lib/tools/test/cover_SUITE.erl
2011-02-21Remove old test_server codeLukas Larsson
2011-02-17Strip ts.config of internal addresses.Lukas Larsson
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 ts to take the config path as an invironmental and as a variables ↵Lukas Larsson
passed with all_tests and also with the normal run
2011-02-16Update TEST_SERVER_FRAMEWORK os variable to be regarded as undet if set to ↵Lukas Larsson
undefined
2011-02-09Rename Suite Callback to Common Test HookLukas Larsson
2011-02-01Split the cover ets tables into two tables, one with the clause info and one ↵Lukas Larsson
with the bump info. This will make it faster to search the tables when analyzing and exporting data. Also made cover export more parallel in how data is collected from the different nodes and also how data is read from ets. This should make the performance of cover much better on machines with multiple CPUs.
2011-01-26Make the call to cover parallel so that the test_server takes advantage of ↵Lukas Larsson
the new cool parallel cover features.
2011-01-24Update so that cover is skipper for applications without a .cover fileLukas Larsson
2011-01-24Update ts to start common test with both ts.config and ts.PLATFORM.configLukas Larsson
2011-01-24Update ts scb to add nodenames in all pre_init clausesLukas Larsson
2011-01-24Add release/tests/test_server to pathLukas Larsson
2011-01-24Add ts_install_scb which is a common_test SCB that handles making of test ↵Lukas Larsson
modules.
2011-01-24Update ts to work with common test instead of test_serverLukas Larsson
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-08Update end_tc fw call to get {skip,Reason} instead of 'skipped' as return valueLukas Larsson
2010-12-08Update framework callbacks to use end_tc/4 if available. end_tc/4 can return ↵Lukas Larsson
anything which init_tc/3 can, and also modify the COnfig variable when called from init_per_suite and init_per_group
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-30ts_install: Identify the halfword emulatorBjörn Gustavsson
2010-09-10Remove warnings for clashes with new autoimported BIFsPatrik Nyblom
2010-09-10Merge branch 'peppe/common_test/dev/OTP-8805' into devLukas Larsson
* peppe/common_test/dev/OTP-8805: Fix problem with {fail,Result} from end_tc not being recognized 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
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-06Fix error in the repeat_until_* group property handlingPeter Andersson
2010-09-02Fix problem with {fail,Result} from end_tc not being recognizedPeter Andersson
2010-09-02Fix error in handling of sequence groupsPeter Andersson
2010-09-02Fix error in the repeat_until_* group property handlingPeter Andersson
2010-09-02Fix problems with sequences and sub-groupsPeter Andersson
Getting sequences to work properly when a sub-group fails in init_per_group has been unsuccessful (see tests in ct_sequence_1_SUITE). Skipping parent group tests from the auto_skip conf clause fails because of problems with where/how the group status is stored. Work in progress...
2010-08-13Use proper install methodMartti Kuparinen
Only real program files should be installed with INSTALL_PROGRAM while scripts should be installed with INSTALL_SCRIPT and data files with INSTALL_DATA.
2010-08-03ts: Eliminate Clearcase references in commentsBjörn Gustavsson
2010-08-03ts: Remove Clearcase detectionBjörn Gustavsson
ts_lib:erlang_type/0 used to dectect whether the system was run in Clearcase, in an uninstalled source tree or in an installed system. There now only remain two cases: running in a source tree/git repository or in an installed system. Update ts_lib:erlang_type/0 and all callers accordingly.
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-06Add textured backgound to html log filesPeter Andersson
The overview html log files now have a textured background. This default new look can be switched off with the 'basic_html' option.
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-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-09Make {repeat*,N} property in group execute the group N times exactlyPeter Andersson
To be consistent with the behaviour of the run_test repeat flag/option, the repeat* group property has been changed to specify absolute number of test runs. Previously {repeat,N} meant "execute the group 1 time + N repeats". Now it means "execute the group N times".
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-09Fix error with {repeat,0} property in groups causing double iterationsPeter Andersson
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-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-09Remove dialyzer warningAndrey Pampukha