summaryrefslogtreecommitdiff
path: root/lib/common_test
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releaseErlang/OTP2023-05-152-1/+45
|
* Update copyright yearErlang/OTP2023-05-154-4/+4
|
* Merge pull request #7189 from u3s/kuba/ct/doc_fix/GH-6951Jakub Witczak2023-05-054-8/+12
|\ | | | | ct: various doc fixes
| * ct: various doc fixesJakub Witczak2023-04-284-8/+12
| | | | | | | | | | | | | | - fix typo group/0 -> groups/1 - in groups example, wrap result term in a list - add testcase tuple in type specs for all/0 and groups/0 - add list to ct_testcase_repeat_prop() type
* | dbg: deprecates function dbg:stop_clear/1Kiko Fernandez-Reyes2023-04-191-1/+1
| | | | | | | | | | | | | | | | function `dbg:stop_clear/1` is not documented in the API but was kept for compatibility reasons. in this commit we make a step forward to deprecating its use such that it will be eventually removed. closes GH-6903.
* | Revert "Prepare release"Henrik Nord2023-04-122-38/+1
| | | | | | | | This reverts commit d4e4511b19f4126d9271a6e3a8fa2eb716da7e85.
* | Prepare releaseErlang/OTP2023-04-112-1/+38
|/
* Revert "Prepare release"Henrik Nord2023-03-222-38/+1
| | | | This reverts commit 1cf126f91eb533783409da95b117207d8c13d9aa.
* Prepare releaseErlang/OTP2023-03-212-1/+38
|
* Update copyright yearErlang/OTP2023-03-211-1/+1
|
* Merge branch 'maint' into masterHenrik Nord2023-03-082-1/+17
|\ | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * Prepare releaseErlang/OTP2023-03-062-1/+17
| |
| * Update copyright yearErlang/OTP2023-03-062-2/+2
| |
* | common_test: fixes return type of init/1 fnKiko Fernandez-Reyes2023-02-171-1/+1
| | | | | | | | | | the singleton variable `Reason` is unbound, and this commit binds the `Reason` variable to `term()`.
* | Revert "Prepare release"Henrik Nord2023-02-152-38/+1
| | | | | | | | This reverts commit 587341d994f91af5b30483ee9434e932e3d7b802.
* | Prepare releaseErlang/OTP2023-02-142-1/+38
| |
* | Update copyright yearErlang/OTP2023-02-1415-15/+15
| |
* | Merge branch 'maint'Sverker Eriksson2023-01-232-5/+19
|\ \ | |/
| * Merge branch 'sverker/pg-test-otp-releases' into maintSverker Eriksson2023-01-232-5/+19
| |\
| | * test_server: Introduce os env TEST_SERVER_RELEASE_ROOTSverker Eriksson2022-12-071-4/+18
| | | | | | | | | | | | to allow otp releases under any directory.
| | * common_test: Rename undocumented macro CT_PEER/3 -> CT_PEER_RELSverker Eriksson2022-12-071-1/+1
| | | | | | | | | | | | Makes it easier to grep for.
* | | Merge pull request #6669 from bjorng/bjorn/ct/eliminate-size-bifBjörn Gustavsson2023-01-187-20/+19
|\ \ \ | | | | | | | | ct: Replace size/1 with either tuple_size/1 or byte_size/1
| * | | Replace size/1 with either tuple_size/1 or byte_size/1Björn Gustavsson2023-01-177-20/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `size/1` BIF is not optimized by the JIT, and its use can result in worse types for Dialyzer. When one knows that the value being tested must be a tuple, `tuple_size/1` should always be preferred. When one knows that the value being tested must be a binary, `byte_size/1` should be preferred. However, `byte_size/1` also accepts a bitstring (rounding up size to a whole number of bytes), so one must make sure that the call to `byte_size/1` is preceded by a call to `is_binary/1` to ensure that bitstrings are rejected. Note that the compiler removes redundant calls to `is_binary/1`, so if one is not sure whether previous code had made sure that the argument is a binary, it does not harm to add an `is_binary/1` test immediately before the call to `byte_size/1`.
* | | | Merge branch 'maint' into masterRickard Green2023-01-172-1/+17
|\ \ \ \ | |/ / / |/| / / | |/ / | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | Merge branch 'maint-25' into maintRickard Green2023-01-172-1/+17
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | * maint-25: Updated OTP version Prepare release Update copyright year
| | * | Prepare releaseErlang/OTP2023-01-122-1/+17
| | | |
| | * | Update copyright yearErlang/OTP2023-01-121-1/+1
| | | |
| | * | Merge branch ↵Erlang/OTP2023-01-121-4/+4
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'anupamasingh10/common_test/cth_log_redirect-timeout-infinity/ERIERL-879/OTP-18363' into maint-25 * anupamasingh10/common_test/cth_log_redirect-timeout-infinity/ERIERL-879/OTP-18363: use timeout value infinity for gen_server calls in cth_log_redirect
* | | \ \ Merge pull request #6437 from fabjan/patch-1Jakub Witczak2022-12-301-112/+91
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix example code in ct_hooks_chapter.xml OTP-18377
| * | | | | Fix example code in ct_hooks_chapter.xmlFabian Bergström2022-12-281-112/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The example code has a syntax error (missing a period), and uses the deprecated erlang:now/0 function. * prefix unused variable names with _ * use a more minimal example * move file:open to terminate * 'suite_total' and 'total' were mixed up * put complete CT hook example in erlang-skels.el * fix indentation for the example CTH code * remove some spaces and align to 80 chars rule
* | | | | | Merge branch 'maint' into masterKiko Fernandez-Reyes2022-12-272-1/+17
|\ \ \ \ \ \ | | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | | | | Merge branch 'maint-24' into maintKiko Fernandez-Reyes2022-12-272-1/+17
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint-24: Updated OTP version Prepare release Update copyright year
| | * | | | | Prepare releaseErlang/OTP2022-12-192-1/+17
| | | | | | |
| | * | | | | Update copyright yearErlang/OTP2022-12-191-1/+1
| | | |_|/ / | | |/| | |
* | | | | | Merge branch 'maint'Anupama Singh2022-12-191-4/+4
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Merge pull request #6563 from ↵anupamasingh102022-12-191-4/+4
| |\ \ \ \ \ | | |/ / / / | | | | / / | | |_|/ / | |/| | | | | | | | anupamasingh10/anupamasingh10/common_test/cth_log_redirect-timeout-infinity/ERIERL-879/OTP-18363 use timeout value infinity for gen_server calls in cth_log_redirect OTP-18363
| | * | | use timeout value infinity for gen_server calls in cth_log_redirectAnupama Singh2022-12-151-4/+4
| | | | |
* | | | | Merge branch 'maint' into masterHenrik Nord2022-12-144-3/+20
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | * maint: Updated OTP version Prepare release Update copyright year
| * | | | Prepare releaseErlang/OTP2022-12-122-1/+18
| | | | |
| * | | | Update copyright yearErlang/OTP2022-12-122-2/+2
| | |_|/ | |/| |
* | | | Merge pull request #6420 from paulo-ferraz-oliveira/feature/ct-doc-from-codeKiko2022-11-252-446/+528
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | ct: prevent documentation errors and ease maintenance OTP-18340
| * | | | ct: prevent documentation errors and ease maintenancePaulo F. Oliveira2022-11-242-446/+528
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We: 1. expose a new type ct:handle/0 as per the current doc. 2. expose a new type ct:conn_log_option/0 as per the current doc 3. typespec all the functions in a very lazy approach (basically copy-paste from the doc.) 4. refer (in the xml) to the newly added specs for ease of maintenance
* | | | | Merge branch 'maint'Sverker Eriksson2022-11-171-2/+2
|\ \ \ \ \ | |/ / / / |/| / / / | |/ / /
| * | | test_server: Make it 32-bit build show in platform stringSverker Eriksson2022-11-141-2/+2
| | |/ | |/|
* | | Merge branch 'maint'Kiko Fernandez-Reyes2022-10-271-1/+15
|\ \ \ | |/ /
| * | doc: improve wording of test groups docsKiko Fernandez-Reyes2022-10-211-5/+4
| | |
| * | doc: add missing syntax case to Test Case GroupsKiko Fernandez-Reyes2022-10-071-0/+15
| | |
* | | otp: Refactor second and third bootstrapLukas Larsson2022-10-182-4/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | We move all the logic around bootstraps to the top Makefile.in instead of sharing it with lib/Makefile. Now there is a single place that lists which applications are part of which bootstrap and which need to be built or not built.
* | | peer: Fix running of cover compiled peer nodesLukas Larsson2022-10-031-6/+8
| | | | | | | | | | | | | | | | | | | | | Disable running of cover on ct peer nodes that are not the same version as the current node. Also we don't use a fun to setup cover on the peer node as the newly compiled peer module may have a different md5 and thus the setup will fail.
* | | Merge pull request #5924 from ↵Lukas Larsson2022-09-272-21/+28
|\ \ \ | | | | | | | | | | | | | | | | frazze-jobb/frazze/stdlib/shell_completion/OTP-14835/OTP-18259/OTP-18261 stdlib: enhances the shell completion