summaryrefslogtreecommitdiff
path: root/lib/common_test/include
Commit message (Collapse)AuthorAgeFilesLines
* Introduce CT_PEERMaxim Fedorov2021-11-081-0/+11
| | | | | | | | | | | | Set of macro definitions added to ct.hrl to facilitate multi-node testing. - ?CT_PEER() starts a new node of the same ERTS as the current one - ?CT_PEER(["arg1", "arg2"]) starts the node with extra command line args - ?CT_PEER(#{...}) starts peer node following Common Test conventions for naming, crash dump location etc, but allowing to specify additional parameters for peer node - ?CT_PEER(..., "22", TmpDir) starts the node with OTP release 22, using TmpDir to store compiled with that version peer.beam (since it's not available with earlier OTP versions)
* test suites: replace ?t: with test_server:Maxim Fedorov2021-09-081-1/+0
| | | | | | Removing ?t retained for backward compatibility allows to search for test_server callsites easier. Replace ?t:fail and test_server:fail with ct:fail.
* common_test: Add .hrl for support macros and -include of proptest toolHans Nilsson2020-01-071-0/+40
|
* update copyright-yearHenrik Nord2016-03-152-2/+2
|
* Remove test_server as a standalone applicationBjörn Gustavsson2016-02-171-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test_server application has previously been deprecated. In OTP 19, we will move relevant parts of test_server into the common_test application. Test suites that include test_server.hrl must be updated to include ct.hrl instead. Test suites that include test_server_line.hrl must removed that inclusion. Test suites that call the test_server module directly will continue to work in OTP 19. The test suites for Erlang/OTP are built and executed in exactly the same way as previously. Here are some more details. The modules test_server*.erl and erl2html2.erl in lib/test_server/src have been moved to common_test/src. The test_server.hrl and test_server_line.hrl include files have been deleted. The macros in test_server.hrl have been copied into lib/common_test/include/ct.hrl. The ts*.erl modules and their associated data files in lib/test_server/src has been been moved to the new directory lib/common_test/test_server. The ts* modules are no longer built to lib/common_test/ebin. They will only built when 'make release_tests' is executed. The test suite for test_server has been moved to lib/common_test/test. The rest of the files have been deleted.
* Change license text to APLv2Bruce Yinhe2015-06-182-19/+21
|
* Add misc documentationPeter Andersson2013-09-111-0/+4
|
* Update copyright yearsBjörn-Egil Dahlberg2012-08-311-1/+1
|
* Implement verbosity levels and parameter for log printout importancePeter Andersson2012-07-131-0/+13
|
* common_test: Use line numbers in exceptionsBjörn Gustavsson2011-08-181-2/+1
| | | | | | Remove the old kludgy parse transformations and line numbers macros in common_test and test_server, and use the line numbers in exceptions instead.
* Merge branch 'fh/common_test-includes' into ccase/r13b04_devErlang/OTP2010-01-191-6/+6
|\ | | | | | | | | | | | | | | * fh/common_test-includes: make it possible to include ct.hrl using include_lib Include test_servers's include files in the bootstrap OTP-8379 It is now possible to include the ct.hrl using the -include_lib directive. (Thanks to Fred Hebert.)
| * make it possible to include ct.hrl using include_libFred T-H2010-01-171-1/+1
|/ | | | | | | It is major annoyance that ct.hrl cannot be included using "-include_lib". The problem is that ct.hrl in turn includes the test_server include files using "-include". Fix it by using "-include_lib" in ct.hrl.
* The R13B03 release.OTP_R13B03Erlang/OTP2009-11-203-0/+44