3 # Install packages for integration tests.
5 # This script is normally run via sudo in a test container or VM, such as via
8 # Perl::Tidy, Perl::Critic, and Test::Perl::Critic are installed separately to
9 # get the latest version, since they sometimes change formatting and style
10 # rules compared to the version in Ubuntu. Test::MinimumVersion has to be
11 # included since it installs Perl::Critic.
13 # Allow the installation of Perl::Critic and Test::Perl::Critic to fail, since
14 # sometimes the versions on CPAN won't install. (We'll just skip the test if
17 # Copyright 2015-2020, 2023 Russ Allbery <eagle@eyrie.org>
19 # SPDX-License-Identifier: MIT
25 apt-get install aspell cpanminus cppcheck heimdal-multidev libcdb-dev \
26 libconst-fast-perl libdb-file-lock-perl libcrypt-pbkdf2-perl \
27 libdbd-sqlite3-perl libdbi-perl libgetopt-long-descriptive-perl \
28 libipc-run-perl libjson-maybexs-perl libkrb5-dev libperl6-slurp-perl \
29 libsqlite3-dev libtest-pod-perl libtest-spelling-perl \
30 libtest-strict-perl pkg-config perl tinycdb valgrind
32 # Dependencies for Perl tests.
34 cpanm Perl::Critic || true
35 cpanm Test::MinimumVersion || true
36 cpanm Test::Perl::Critic || true