Skip to content

Commit

Permalink
Add libipc-run-perl and libtest-simple-perl
Browse files Browse the repository at this point in the history
To fully support [PostgreSQL TAP] testing.

  [PostgreSQL TAP]: https://www.postgresql.org/docs/current/regress-tap.html
  • Loading branch information
theory committed Feb 5, 2024
1 parent 9be20fa commit 475d691
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN chmod +x /usr/local/bin/apt.postgresql.org.sh \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
build-essential clang llvm llvm-dev llvm-runtime cmake \
pgxnclient libtap-parser-sourcehandler-pgtap-perl libipc-run-perl sudo gosu \
pgxnclient libtap-parser-sourcehandler-pgtap-perl libipc-run-perl libtest-simple-perl sudo gosu \
ca-certificates gnupg2 zip unzip libarchive-tools curl git libicu-dev libxml2 locales ssl-cert \
&& apt-get -y purge postgresql-client-common \
&& apt-get clean \
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,9 @@ PostgreSQL database.
TAP output is suitable for harvesting, analysis, and reporting by [`pg_prove`]
or other [TAP] tools.

Note that these are not the same as [PostgreSQL TAP] tests, though they are
also supported by the inclusion of IPC::Run in this image.

### Installed Packages

The image includes these packages; pass additional packages to
Expand All @@ -358,6 +361,9 @@ The image includes these packages; pass additional packages to
* [curl](https://packages.debian.org/bookworm/curl)
* [git](https://packages.debian.org/bookworm/git)
* [libicu-dev](https://packages.debian.org/bookworm/libicu-dev)
* [libipc-run-perl](https://packages.debian.org/bookworm/libipc-run-perl)
(IPC::Run for [PostgreSQL TAP] tests)
* [libtest-simple-perl](https://packages.debian.org/bookworm/libtest-simple-perl)
* [libxml2](https://packages.debian.org/bookworm/libxml2)
* [locales](https://packages.debian.org/bookworm/locales)
* [ssl-cert](https://packages.debian.org/bookworm/ssl-cert)
Expand Down Expand Up @@ -392,4 +398,5 @@ Copyright (c) 2020-2024 The PGXN Maintainers. Distributed under the
[LICENSE]: LICENSE
[the docs]: https://pgxn.github.io/pgxnclient/
[pgTAP]: https://pgtap.org/
[PostgreSQL TAP]: https://www.postgresql.org/docs/current/regress-tap.html
[TAP]: https://testanything.org "Test Anything Protocol"

0 comments on commit 475d691

Please sign in to comment.