aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_server/src/test_server.erl
AgeCommit message (Collapse)Author
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-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-30Create temporary fix for problem with parallel test casesPeter Andersson
OTP-9600
2011-09-28Add missing tests for timetrap handling and fix remaining errorsPeter Andersson
OTP-9593
2011-09-23Fix problem with location value when init config func calls help funcPeter Andersson
2011-09-23Fix error with incorrect notification after end_per_testcase crachesPeter Andersson
2011-09-23Fix problem with error message not being printed correctlyPeter Andersson
2011-09-23Fix incorrect call to end_tc when tc_status=ok and end_per_testcase times outPeter Andersson
OTP-9397
2011-09-23Implement support for MFA and Fun as timetrap valuePeter Andersson
OTP-9501
2011-09-23Fix problem with end_tc being called with incorrect Suite argumentPeter Andersson
OTP-9398: Fix error with end_tc being called with incorrect Suite argument after timeout in lib function OTP-9397: Fix problem with true error not reported to FW
2011-09-23Fix error with incorrect test case status when end_per_testcase times outPeter Andersson
OTP-9397
2011-09-23Introduce new framework callback function to read info about color of commentsPeter Andersson
OTP-9237
2011-09-23Fix incorrect module name arg to FW:end_tc/3Peter Andersson
OTP-9379
2011-09-13test_server: Show line number for caller of test_server:fail()Björn Gustavsson
Showing the line number of fail/{1,2} in the test_server module is not especially useful.
2011-08-18common_test: Use line numbers in exceptionsBjörn Gustavsson
Remove the old kludgy parse transformations and line numbers macros in common_test and test_server, and use the line numbers in exceptions instead.
2011-08-18test_server: Refactor init_per_testcase/3 into two functionsBjörn Gustavsson
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-15Update framwork backwards compatability check to use TEST_SERVER_FRAMEWORK ↵Lukas Larsson
as it should and not the Module
2011-04-15Update end_tc framework calls to check the name of the framework module ↵Lukas Larsson
instead of the return value of the call
2011-03-11Update copyright yearsBjörn-Egil Dahlberg
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-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-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.
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-09-02Fix problem with {fail,Result} from end_tc not being recognizedPeter 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 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-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-04-30test_server: Remove stray support for OSE/DeltaBjörn Gustavsson
Remove code supporting testing on OSE/Delta. Some cross-testing support only used by OSE/Delta is kept (see the mention of OSE in test_server_internal.hrl), because it could presumably be useful in the future if we are to test some other embedded system.
2010-02-17OTP-8311: Various updates and fixes in Common Test and Test ServerPeter Andersson
2009-11-20The R13B03 release.OTP_R13B03Erlang/OTP