summaryrefslogtreecommitdiff
path: root/erts/test
Commit message (Collapse)AuthorAgeFilesLines
* erlexec: Add checks that next argument is validLukas Larsson2021-04-121-11/+79
| | | | | | | | | | | | | | The argument -- is silently added in a number of places in order to seperate arguments from different sources. When checking to see if an argument that erlexec needs to handle is valid we therefore check that it does not start with '--'. Since `+S -1` is a valid argument we cannot make all `-` and `+` values invalid, which is a shame but not much we can do about that. Closes #4624
* Merge branch 'bjorn/cuddle-with-tests'Björn Gustavsson2021-03-031-18/+9
|\ | | | | | | | | | | | | | | | | | | | | | | | | * bjorn/cuddle-with-tests: test_server: Remove is_native/1 otp_SUITE: Remove handling of the gs application Remove unused functions in test suites Remove redundant tests for native code runtime_tools tests: Turn on warnings as errors runtime_tools tests: Eliminate use of deprecated now/0 dbg_SUITE: Remove unused functions core_alias_SUITE: Slightly optimize catastrophic_runtime/1 Eliminate warnings for underscore variables multiply bound
| * otp_SUITE: Remove handling of the gs applicationBjörn Gustavsson2021-03-011-18/+9
| | | | | | | | While at it, refactor the list of filters in undefined_functions/1.
* | otp_SUITE: Enhance the dependency tests to run in both xref modesBjörn Gustavsson2021-02-261-9/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Xref can be run in two modes. More detailed information can be found by running in `functions` mode, but it requires analysing source code or BEAM files compiled with the `debug_info` option. When no debug_info is available, xref must be run in `module` mode. Note that more module edges can potentially be found in `modules` mode because the analysis is based on the BEAM code after all optimizations. For example, an apply in the source code could after optimizations be resolved to a specific function. Update otp_SUITE to test runtime dependencies in both modes. It is important to test the `modules` modes because reltool runs xref in that mode (because the BEAM files to be released might not contain debug information).
* | otp_SUITE: Refactor creation of the xref serverBjörn Gustavsson2021-02-261-24/+29
|/ | | | | | Break out the creation of the xref server to a separater helper functions to facilitate creation of multiple xref servers running in different modes.
* Quote source as part of error messagesRichard Carlsson2021-02-081-15/+17
| | | | | Can be suppressed with the 'brief' compiler option. Moves message formatting code to a separate module.
* erts: Adjust column number of a test caseHans Bolinder2021-01-261-4/+5
|
* Merge pull request #2832 from ↵Lukas Larsson2020-11-181-4/+28
|\ | | | | | | | | lrascao/feature/improve_vm_args_inclusion_error/OTP-17014 erlexec: Improve error message when unable to open included args_file
| * erlexec: Improve error message when unable to open included args_fileLuis Rascao2020-11-021-4/+28
| | | | | | | | | | | | | | By specifying `-args_file` in a supplied `vm.args` it is possible to extend the VM options, the path supplied is relative to the current working directory. Improve the error message when unable to open such a file to ease the process.
* | otp: Remove all purify supportSverker Eriksson2020-11-091-21/+0
| | | | | | | | | | | | not used the last decade. Build targets: purify, quantify and purecov.
* | otp: Remove HiPE and HiPE-related accessoriesJohn Högberg2020-11-092-52/+8
|/
* erlexec: Fix testcase on windowsLukas Larsson2020-06-231-4/+7
|
* Fix ethread_SUITE:equal_tids test in systemRickard Green2020-06-051-1/+35
|
* Merge branch 'maint'Rickard Green2020-03-134-4/+4
|\ | | | | | | | | * maint: Update copyright year
| * Update copyright yearRickard Green2020-03-134-4/+4
| |
* | Merge branch ↵Lukas Larsson2020-02-241-5/+11
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'lukas/kernel/code-chunk-lookup/OTP-16494/OTP-16222/OTP-16406/OTP-16499/OTP-16500/OTP-16501/OTP-16502/OTP-16503' * lukas/kernel/code-chunk-lookup/OTP-16494/OTP-16222/OTP-16406/OTP-16499/OTP-16500/OTP-16501/OTP-16502/OTP-16503: (27 commits) otp: Update doc build instructions with DOC_TARGETS Include erts in travis dialyzer run erts: Fix unmatched return dialyzer warning Move chunk into erlang module for speed Update primary bootstrap Add DOC_TARGETS makefile variable Start work on documentation for EEP-48 Remove term_to_binary of doc chunks doc content Use <code> for monospace, remove anno, add <a marker> Insert newline before paragraph if the previous element did not Generate hidden chunk files for any internal modules Implement EEP-48 aka doc chunks doc: Move typer cli app to REF1 section otp: Refactor doc make system and introduce EEP-48 Fix docs to handle chunk generation Fix mnesia docs to use common name convention Fix ssh type doc to use common name convention Fix ssl doc to use a single name convention Add Module prefix to all callbacks docgen: Remove many dead entities from dtds ...
| * | Implement EEP-48 aka doc chunksLukas Larsson2020-02-241-3/+3
| | |
| * | kernel: Add erts to code:lib_dir lookupLukas Larsson2020-02-241-2/+8
| | |
* | | Merge branch 'rickard/rm-vxworks/OTP-16329'Rickard Green2020-02-242-7/+2
|\ \ \ | |/ / |/| | | | | | | | * rickard/rm-vxworks/OTP-16329: Remove remaining VxWorks support
| * | Remove remaining VxWorks supportRickard Green2020-02-202-7/+2
| | |
* | | Merge branch 'rickard/upgrade_test'Rickard Green2020-02-211-1/+10
|\ \ \ | |/ / |/| | | | | | | | * rickard/upgrade_test: Add test for upgrade from two releases back
| * | Add test for upgrade from two releases backRickard Green2020-02-211-1/+10
| | |
* | | Merge branch 'dgud/fix-wsl-builds'Dan Gudmundsson2020-02-141-14/+53
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dgud/fix-wsl-builds: Use wsl openssl Look for dump files to make them visible in monitor Fix tests on WSL Check argv size Add WSL shell variable for makefiles erts: Move erts_get_ethread_info implementation kernel: Find executable from WSLPATH on windows Fix ERTS_SKIP_DEPEND Fix CLASSPATH with wsl Fix executable extensions Extend MSVC install paths
| * | | Look for dump files to make them visible in monitorDan Gudmundsson2020-02-121-14/+53
| | | | | | | | | | | | | | | | And fail testcase if dmp are found.
* | | | Merge branch 'lukas/system/fix_core_find_for_docker'Lukas Larsson2020-01-281-13/+19
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | * lukas/system/fix_core_find_for_docker: erts: Expand cerl to respect -emu_type option otp: Improve core file printouts in system z_SUITE
| * | | otp: Improve core file printouts in system z_SUITELukas Larsson2019-12-091-13/+19
| | |/ | |/|
* | | Add empty space to not be allowedLukas Larsson2019-10-251-9/+6
| | |
* | | erts: Fix so that quotes are respected in erlexec args filesLukas Larsson2019-10-231-14/+25
| | | | | | | | | | | | | | | Before this fix any double space ('a b') would be stripped to a single space even if quoted.
* | | Merge branch 'maint'Björn Gustavsson2019-08-281-6/+17
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | * maint: scripts/build-otp: Enable compile server for Travis/Jenkins builds Don't use the compile server for PGO Teach erlc to use the compile server Update primary bootstrap Add erl_compiler_server Refactor the erl_compile module Clarify that digraphs are implemented using ETS tables
| * | Teach erlc to use the compile serverBjörn Gustavsson2019-08-261-6/+17
| | |
* | | Merge branch 'josevalim/edoc/no-more-inets/OTP-15999/PR-2317'Hans Bolinder2019-08-221-9/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | * josevalim/edoc/no-more-inets/OTP-15999/PR-2317: system: Remove special handling of EDoc in otp_SUITE. Remove inets dependency from edoc
| * | | system: Remove special handling of EDoc in otp_SUITE.Hans Bolinder2019-08-201-9/+2
| |/ /
* | | Merge branch 'sverker/re-enable-big-creation/OTP-15603'Sverker Eriksson2019-07-011-28/+13
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sverker/re-enable-big-creation/OTP-15603: doc: Add links between dist flags and external tags (DTD updated) erts: Fix docs for new pid,port,ref external tags erts: Document new EPMD response ALIVE2_X_RESP erl_interface: Support 32-bit creation local cnode jinterface: Remove old encoding of pid,port,refs epmd: Support 32-bit creation values in local node erl_interface: Remove old encoding of pid,port,refs erts: Remove old encoding of pids, ports and refs erts: Make DFLAG_BIG_CREATION mandatory
| * | epmd: Support 32-bit creation values in local nodeSverker Eriksson2019-05-141-28/+13
| |/ | | | | | | This reverts revert-commit d293c3ff700c1a0992a32dc3da9ae18964893c23.
* | erlexec: Fix argument separation when mixing env flagsLukas Larsson2019-06-271-8/+24
|/ | | | | | | | | | Example: export ERL_AFLAGS=-test erl dummy_param In the above example, the dummy_param would be interpreted as an argument to -test, and not as a separate argument as it should.
* Merge branch 'lukas/OTP-22-rc2/misc-fixes/OTP-15773'Lukas Larsson2019-04-181-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lukas/OTP-22-rc2/misc-fixes/OTP-15773: erts: Yield correctly when iterating over distr exit messages erts: Fix cerl -rr to use correct etp file erts: Fix etp-process-info to print exiting and free processes tools: Adjust instrument abort tc to better trigger faults erts: Fix cleanup of message factory undo erts: Make dump_SUITE:free_dump not dump via rpc erts: Add extra debugging to dist frag testcases erts: Run smaller dist frag test to 32 bit machines erl_docgen: Remove accidentally merged debug printout erts: Fix z_SUITE to always look for cerl in ERL_TOP otp: make top Makefile app target respect TYPE variable vxworks: Make vxworks configure use environment CFLAGS erts: Make erts_free debug failure easier to diagnose erts: Fix gcc warning in to_erl
| * erts: Fix z_SUITE to always look for cerl in ERL_TOPLukas Larsson2019-04-101-2/+2
| | | | | | | | | | If it cannot be found in the daily build dir, we try ERL_TOP incase it is there.
* | Revert "epmd: Support 32-bit creation values in local node"Sverker Eriksson2019-04-091-13/+28
|/ | | | | | | | This reverts commit bd8f6106d44a58c261920eef72842bb3bc5a4968. PLUS a little change in epmd_srv.c:750 ("4" -> "replylen") that was part of e2cf4a8a4b03b9f430ba228276c3b2629159e832 by mistake.
* epmd: Support 32-bit creation values in local nodeSverker Eriksson2019-03-221-28/+13
| | | | | | | | * Increase distribution version from 5 to 6 * Introduce new ALIVE2_X_RESP with 32-bit creation as reply to ALIVE2_REQ when sender dist version >= 6 * Still reply old ALIVE2_RESP with tiny creation 1..3 if sender dist version < 6.
* Change "can not" into "cannot"Raimo Niskanen2018-07-271-1/+1
| | | | | I did not find any legitimate use of "can not", however skipped changing e.g RFCs archived in the source tree.
* Update copyright yearHenrik Nord2018-06-187-7/+7
|
* Add ct:get_progname/0Richard Carlsson2018-05-041-2/+2
| | | | This replaces all uses of lib:progname/0 in tests.
* Add correction of relup when upgrading from 20-21 with inets and ftp/tftpSiri Hansen2018-04-131-2/+42
|
* Merge branch 'dgud/testcase-fixes'Dan Gudmundsson2018-03-271-1/+1
|\ | | | | | | | | | | | | * dgud/testcase-fixes: debug info add unicode opt env may contain unicode signs Fix lexemes conversion
| * Fix lexemes conversionDan Gudmundsson2017-10-201-1/+1
| |
* | Merge branch 'maint'Lukas Larsson2018-02-261-1/+1
|\ \
| * | kernel: Ignore cores in erl_distribution_SUITELukas Larsson2018-01-241-1/+1
| | | | | | | | | | | | | | | Some bash versions segfault when a unicode argument is given so we ignore cores created by nodes spawned by this testcase.
* | | Merge branch 'maint'Sverker Eriksson2017-12-211-0/+2
|\ \ \ | |/ /
| * | erts: Add core dumps from valgrind to z_SUITE searchSverker Eriksson2017-12-131-0/+2
| | |
* | | Add -MMD option to erlcTony Rogvall2017-12-061-1/+101
| |/ |/| | | | | | | | | The compile option makedep_side_effect, erlc -MMD, instructs the compiler to emit dependencies and continue to compile as normal.