diff options
author | Kjell Winblad <kjellwinblad@gmail.com> | 2021-05-07 16:03:01 +0200 |
---|---|---|
committer | Kjell Winblad <kjellwinblad@gmail.com> | 2021-07-09 09:06:45 +0200 |
commit | fc2c4fc4739ad07e03df2c9ef6d558161ce100d1 (patch) | |
tree | 032ff0a023d4fcbfacb77cc1601a6bb06af9e7b8 /lib/snmp | |
parent | 000e32aa45cb8524164e4faf238e2277375c321c (diff) | |
download | erlang-fc2c4fc4739ad07e03df2c9ef6d558161ce100d1.tar.gz |
Add app-file runtime_dependencies test and incorrect dependencies fixes
This commit adds a test case to check that app files for the
Erlang/OTP applications specifies correct versions for the
dependencies in the runtime_dependencies field. The test is designed
to work on the Erlang/OTP team's test servers as it assumes that all
released applications are installed in particular places and that all
app versions have been increased in the correct way (which is done by
scripts in the Erlang/OTP team's test infrastructure).
The test uses xref to try to find undefined function calls in all
Erlang/OTP applications. When running xref to test an application,
`xref`'s library path is set to point to folders containing beam-files
for the applications that are specified as the minimum correct
versions by the `runtime_dependencies` field in the application's app
file.
This commit also bumps the versions of several dependencies that the
test found to have incorrect versiosn so they instead get the first
version of the dependencies that makes the test pass.
Diffstat (limited to 'lib/snmp')
-rw-r--r-- | lib/snmp/src/app/snmp.app.src | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/snmp/src/app/snmp.app.src b/lib/snmp/src/app/snmp.app.src index 6b208456a8..1cc8c44205 100644 --- a/lib/snmp/src/app/snmp.app.src +++ b/lib/snmp/src/app/snmp.app.src @@ -142,4 +142,4 @@ {applications, [kernel, stdlib]}, {mod, {snmp_app, []}}, {runtime_dependencies, ["stdlib-2.5","runtime_tools-1.8.14","mnesia-4.12", - "kernel-3.0","erts-6.0","crypto-3.3"]}]}. + "kernel-3.0","erts-6.0","crypto-4.6"]}]}. |