summaryrefslogtreecommitdiff
path: root/lib/reltool
Commit message (Collapse)AuthorAgeFilesLines
* Prepare releaseErlang/OTP2023-03-062-2/+16
|
* Update copyright yearErlang/OTP2023-03-061-1/+1
|
* dialyzer_dataflow: Fix bug in bind_checked_inf/4John Högberg2022-12-211-0/+1
| | | | | | | | | | | | | | | | | | `unit` can't be bound any more than `none` can. This resulted in slightly improved analysis in some cases, taking notice of more functions in OTP that lacked a local return, so I've added specs to those functions in order to silence the warnings. The pattern for that is: ```erlang try function_that_returns_unit() catch _:_ -> error(xyz) end ``` Previously, this expression was treated as returning unit() even though it could only ever return none(), as the wrapped function would never return.
* make: Allow OTP to be built deterministicallyTom Davies2022-06-241-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a --enable-deterministic-build to the configure script, which sets ERL_DETERMINISTIC=yes throughout the relevant Makefiles, which then invoke the relevant build stages with the +deterministic option. This addresses absolute paths being included in generated .erl files and compiled .beam files that resulted in builds from different source directories generating different artefacts (which is a component of the issue in erlang#4482). I think it would make sense to make this the default at some stage, but I've put the change behind a flag for now to decouple making deterministic OTP builds possible from making them the default. Having +deterministic set results in compiler options being removed from the module info for modules where this options was used. This may have other implications for users of OTP. For tests themselves, +determinism is not set, since many test cases depend on accessing the test module's compilation options, or other features not available in deterministic mode, in order to configure themselves. For tests of the determinism feature specifically, +deterministic must be explicitly passed to the compiler within the relevant test cases.
* Update copyright yearErlang/OTP2022-02-156-6/+6
|
* Merge branch 'max-au/remove-emem'Rickard Green2022-01-251-8/+3
|\ | | | | | | | | | | | | | | | | OTP-17892 * max-au/remove-emem: Update configure scripts [beam] remove allocator wrappers [erts, tools] remove "emem" completely
| * [erts, tools] remove "emem" completelyMaxim Fedorov2022-01-191-8/+3
| | | | | | | | | | | | Test suites for the tool were lost long ago. Removing "liberts.a" library as well, for it is now empty and AR on MacOS/Windows does not like empty libraries.
* | otp: Fix `make TYPE=$TYPE` to work for all typesLukas Larsson2022-01-213-4/+4
| |
* | otp: Make tests pass when run in source treeLukas Larsson2022-01-211-0/+1
|/
* Fix typos in lib/reltoolKian-Meng, Ang2021-12-276-9/+9
|
* Update copyright yearRickard Green2021-12-1512-12/+12
|
* test suites: replace ?t: with test_server:Maxim Fedorov2021-09-082-3/+3
| | | | | | Removing ?t retained for backward compatibility allows to search for test_server callsites easier. Replace ?t:fail and test_server:fail with ct:fail.
* Prepare releaseErlang/OTP2021-05-102-2/+24
|
* Revert "Prepare release"Henrik Nord2021-04-212-24/+2
| | | | This reverts commit 221e41bd32e433f6e08bbfedb013fc49c9aa1283.
* Prepare releaseErlang/OTP2021-04-192-2/+24
|
* reltool: Generate files reproduciblyJérôme de Bretagne2021-03-281-11/+5
| | | | | | | Remove the current date/time in rel, script and application resource files generated by reltool_target. Contributes to #4417 (ERL-1445) and #4482 (ERL-1446).
* Revert "Prepare release"Henrik Nord2021-03-262-18/+2
| | | | This reverts commit 1cc1d15c4e54c1d9d8c34a4c66193a95b10c479a.
* Prepare releaseErlang/OTP2021-03-252-2/+18
|
* Merge branch 'maint'Lukas Larsson2021-03-121-1/+8
|\
| * reltool: Ignore ERL_LIBS in test casesLukas Larsson2021-02-191-1/+8
| | | | | | | | | | | | | | If ERL_LIBS is set when the testrun is started the reltool_server_SUITE fails to run. So we clear it before we start that suite and restore it afterwards in case in contains something we need.
* | Revert "Prepare release"Henrik Nord2021-02-242-18/+2
| | | | | | | | This reverts commit bbc0f3386c2546af25936730742d8dee1664f1dd.
* | Prepare releaseErlang/OTP2021-02-232-2/+18
| |
* | Add optional_applications to .app resource filesJosé Valim2021-01-195-21/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Both Mix and Rebar allow some applications to be absent at runtime - sometimes also known as optional dependencies. However, given optional applications are not stored in .app resource files, releases do not consider optional applications in its boot order, leaving it up to chance if an optional app will be started before its parent. Users can try to explicitly list optional applications on their release definition files, but given the order is not enforced, this manual specification may be reordered when new apps are added, leaving developers with broken releases. This PR introduces the "optional_applications" field to .app resource files. If an application is listed on both "applications" and "optional_applications", it will be attempted to be started before its parent but the parent won't fail to start in case it is missing: If application "b" is an optional application for application "a", and application "b" is missing, "application:start(a)" will still succeed. If application "b" is an optional application for application "a", and application "b" is available, "application:ensure_all_started(a)" will automatically start application "b" before "a". systools and reltool have also been modified to consider optional_applications.
* | EXTERNAL APPS COMPATDan Gudmundsson2020-12-211-2/+1
|/
* reltool: Fix sorting of erl_libsLukas Larsson2020-04-221-1/+1
| | | | | The internal state of reltool does not sort the erl_libs so neither should the test functions.
* otp: Convert all <seealso> to more specific variantsLukas Larsson2020-03-271-4/+4
| | | | | | | | | | | | We add `seemfa`, `seeerl`, `seetype`, `seeapp`, `seecom`, `seecref` , `seefile` and `seeguide` in order to make it easier to reason about what each link points to without examining the target. This information will then be embedded in the EEP-48 chunks for usage by other tools. The tool used can be found here: https://gist.github.com/garazdawi/68527d92ae5b37c8f129bfbdfffdfa68
* otp: Change all MFA links to use "/" syntax for arityLukas Larsson2020-03-201-4/+4
|
* Add DOC_TARGETS makefile variableLukas Larsson2020-02-241-0/+3
| | | | | The variable can be set to pdf, html, man or chunks and also any combination of the above.
* otp: Refactor doc make system and introduce EEP-48Lukas Larsson2020-02-241-76/+1
|
* Merge branch 'maint'Lukas Larsson2019-11-142-1/+3
|\
| * erts: Add -emu_type opt for overriding other -emu_type flagsLukas Larsson2019-11-142-1/+3
| |
* | Add 'make dialyzer' target to top and appsLukas Larsson2019-06-261-0/+2
| |
* | Add "make test" command for root and application directoriesKjell Winblad2019-06-261-0/+1
|/ | | | The added make target is described in HOWTO/TESTING.md.
* Prepare releaseErlang/OTP2019-05-102-2/+35
|
* Revert "Prepare release"Rickard Green2019-04-242-35/+2
| | | | This reverts commit 425889ba69b69a9b6fb14bfbef121d51b78e853a.
* Prepare releaseErlang/OTP2019-04-232-2/+35
|
* Revert "Prepare release"Henrik Nord2019-03-262-35/+2
| | | | This reverts commit 0118046f9bda8dcf3594184fa439b79267db8017.
* Prepare releaseErlang/OTP2019-03-252-2/+35
|
* Revert "Prepare release"Rickard Green2019-02-272-35/+2
| | | | This reverts commit df130102cdeca8d35fec95a0c926fd1cfec54eab.
* Prepare releaseErlang/OTP2019-02-262-2/+35
|
* Merge branch 'siri/cuddle-master'Siri Hansen2019-02-213-42/+96
|\ | | | | | | | | | | | | | | * siri/cuddle-master: Update sasl/test/test_lib.hrl with recent versions of kernel and stdlib [logger] Fix faulty report_cb in logger_disk_log_h_SUITE:logging/1 [cdv] Update compiler directive for release compatibility [reltool] Make test pass when $ERL_LIBS is set
| * [reltool] Make test pass when $ERL_LIBS is setSiri Hansen2019-02-213-42/+96
| |
* | reltool: Add load_dot_erlang rel optionMichael Truog2019-01-196-26/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a rel tuple to the reltool release specific configuration format as {rel, Name, Vsn, RelApps, Opts} to support the use of {rel, Name, Vsn, RelApps, [{load_dot_erlang, false}]} for preventing the insertion of {apply,{c,erlangrc,[]}} into the release script file and the release boot file. This change makes it possible to prevent releases generated with reltool from attempting to load a ${HOME}/.erlang file which is desirable for production deployment of Erlang, to have greater control of what BEAM evaluates. The ${HOME}/.erlang file lacks visibility and its location on the filesystem separate from where the release lives means it can be misused in a way that lacks visibility.
* | Merge branch 'maint'Sverker Eriksson2018-12-131-16/+16
|\ \
| * | Add empty 'since' attribute for old modules and functionsSverker Eriksson2018-12-121-15/+15
| | |
| * | Add "since" attributes in xml for new functions and modulesSverker Eriksson2018-12-111-1/+1
| | | | | | | | | | | | introduced after OTP_R13B03.
* | | Merge branch 'maint'Henrik Nord2018-12-112-2/+20
|\ \ \ | |/ / | | | | | | | | | | | | * maint: Updated OTP version Prepare release
| * | Prepare releaseErlang/OTP2018-12-102-2/+20
| | |
* | | Merge branch 'maint'Siri Hansen2018-11-282-3/+26
|\ \ \ | |/ /
| * | Fix windows backslashes in testStavros Aronis2018-10-291-2/+2
| | |