From e316e90d1f3124e1ddb7f33f77b91af178b963bd Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 17 Mar 2022 21:06:23 -0400 Subject: Add installed package smoke tests in pkg-test directory --- README-maintainer | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'README-maintainer') diff --git a/README-maintainer b/README-maintainer index fd787e6b..3bac1549 100644 --- a/README-maintainer +++ b/README-maintainer @@ -326,6 +326,15 @@ rehash pip3 install . pytest -n auto +* Run package tests: + +cmake -S . -B build.tmp -DCMAKE_BUILD_TYPE=RelWithDebInfo +cmake --build build.tmp -j$(nproc) +DESTDIR=/tmp/inst cmake --install build.tmp +env PKG_CONFIG_PATH=/tmp/inst/usr/local/lib/pkgconfig \ + CMAKE_PREFIX_PATH=/tmp/inst/usr/local \ + ./pkg-test/run-all + CREATING A RELEASE @@ -339,7 +348,7 @@ CREATING A RELEASE version=x.y.z gpg --detach-sign --armor qpdf-$version.tar.gz -* Build and test the debian package +* Build and test the debian package. This includes running autopkgtest. * Add a calendar reminder to check the status of the debian package to make sure it is transitioning properly and to resolve any issues. -- cgit v1.2.3-54-g00ecf