aboutsummaryrefslogtreecommitdiffstats
path: root/lib/common_test/src
AgeCommit message (Collapse)Author
2011-11-18Make absolute paths in log files relativePeter Andersson
2011-11-14Fix bad error printoutPeter 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-30Rid ct_telnet of doc build warningsPeter Andersson
OTP-9572
2011-09-29Correct "Missing Suites" linkPeter Andersson
OTP-9592
2011-09-29Add documentation on timetraps and start flagsPeter Andersson
2011-09-28Add missing tests for timetrap handling and fix remaining errorsPeter Andersson
OTP-9593
2011-09-27Solve problem with ct_init/end_per_group being counted as test casesPeter Andersson
2011-09-27Fix invalid call to undefined functionPeter Andersson
OTP-9585
2011-09-27Fix problem with test_server_ctrl creating invalid conf testPeter Andersson
OTP-9584
2011-09-27Improve info in CT framework logPeter Andersson
2011-09-26Merge branch 'dev' into majorLukas
* dev: Add documentation for cth_log_redirect and built-in hooks Correct wrong match from lists:keyfind Update cth_log_redirect to wait for all error_logger events before ending test Force logging to framework log for parallel tests Add ct_log:ct_log funcion Add a hook for redirecting SASL and error_logger messages Add -enable_builtin_hooks <bool> config option Export write_events and add option to return a string
2011-09-26Merge branch 'lukas/common_test/system_logs_to_ct_log/OTP-9543' into devLukas
* lukas/common_test/system_logs_to_ct_log/OTP-9543: Add documentation for cth_log_redirect and built-in hooks Correct wrong match from lists:keyfind Update cth_log_redirect to wait for all error_logger events before ending test Force logging to framework log for parallel tests Add ct_log:ct_log funcion Add a hook for redirecting SASL and error_logger messages Add -enable_builtin_hooks <bool> config option Export write_events and add option to return a string
2011-09-23Enhance logging performancePeter Andersson
OTP-9575
2011-09-23Add link to last executed test suite on index pagePeter Andersson
OTP-9520
2011-09-23Fix crash when CTHook init failsPeter Andersson
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 problem with incorrect src linksPeter Andersson
OTP-9396
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-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-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-23Fix problem with automatically generated init & end-config functions for groupsPeter Andersson
OTP-9369
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 documentation for cth_log_redirect and built-in hooksLukas Larsson
OTP-9564
2011-09-20Correct wrong match from lists:keyfindLukas Larsson
2011-09-20Update cth_log_redirect to wait for all error_logger events before ending testLukas Larsson
2011-09-20Force logging to framework log for parallel testsLukas Larsson
When parallel tests are run all logs are redirected to use ct_logs:ct_log instead of ct_logs:tc_log.
2011-09-20Add ct_log:ct_log funcionLukas Larsson
This function is used to force logging to CT framework log instead of test case log.
2011-09-20Add a hook for redirecting SASL and error_logger messagesLukas Larsson
SASL and error_logger messaged can now be redirected to the common_test log using a hook which is bundled with common_test.
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-09-20Merge branch 'dev' into majorHenrik Nord
Conflicts: erts/aclocal.m4 erts/include/internal/ethread_header_config.h.in
2011-09-15Fix misspelling of compatibilityTuncer Ayaz
2011-09-02Merge branch 'dev' into majorHans Bolinder
* dev: Fix a couple of minor bugs with hook priority Update to reflect addition of CTH priority addition Update CTH priority default to be 0 Update to reflect new cth callback api Update the return from init/2 to be {ok, NewState} or {ok,NewState,Priority} instead of NewState. Add priority functionality and tests for ct hooks Update internal hooks state to use a record instead of tuples Improve and correct types and specifications in Kernel and STDLIB
2011-08-31Fix a couple of minor bugs with hook priorityLukas Larsson
The bugs caused the sorting priority to be wrong when using installed priority and built in priority. Tests to prove the order of hooks to be correct have also been added.
2011-08-31Update CTH priority default to be 0Lukas Larsson
2011-08-31Update the return from init/2 to be {ok, NewState} or {ok,NewState,Priority} ↵Lukas Larsson
instead of NewState. NewState can still be returned, but is only kept for backward compatability reasons.
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-08-31Update internal hooks state to use a record instead of tuplesLukas Larsson
2011-08-29Merge branch 'dev' into majorHenrik Nord
2011-08-29Merge branch 'rz/add_proplist_type' into devHenrik Nord
* rz/add_proplist_type: Add a proplist() type OTP-9499
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-16emulator: Add a fourth element in exception stacktracesBjörn Gustavsson
This commit is a preparation for introducing location information (filename/line number) in stacktraces in exceptions. Currently a stack trace looks like: [{Mod1,Function1,Arity1}, . . . {ModN,FunctionN,ArityN}] Add a forth element to each tuple that can be used indication the filename and line number of the source file: [{Mod1,Function1,Arity1,Location1}, . . . {ModN,FunctionN,ArityN,LocationN}] In this commit, the fourth element will just be an empty list, and we will change all code that look at or manipulate stacktraces.
2011-08-08common_test Makefile: Support parallel makeBjörn Gustavsson
Add dependecies to force the ct_line parse transform module to be built before all other modules.
2011-05-24Add a proplist() typerzezeski
Recently I was adding specs to an API and found that there is no canonical proplist() type defined.