Commit 93de6eaf96019c9940807e4c6e7bfd2148959233
1 parent
4977a7ef
Run pikepdf's test suite during release preparation
Showing
1 changed file
with
15 additions
and
0 deletions
README-maintainer
| @@ -176,6 +176,21 @@ RELEASE PREPARATION | @@ -176,6 +176,21 @@ RELEASE PREPARATION | ||
| 176 | * make -j$(nproc) | 176 | * make -j$(nproc) |
| 177 | * ./performance_check | tee -a /tmp/perf | 177 | * ./performance_check | tee -a /tmp/perf |
| 178 | 178 | ||
| 179 | +* Run pikepdf's test suite. Do this in a separate shell. | ||
| 180 | + | ||
| 181 | +cd ...qpdf-source-tree... | ||
| 182 | +export QPDF_SOURCE_TREE=$PWD | ||
| 183 | +export LD_LIBRARY_PATH=$QPDF_SOURCE_TREE/libqpdf/build/.libs | ||
| 184 | +cd /tmp/z | ||
| 185 | +git clone git@github.com:pikepdf/pikepdf | ||
| 186 | +virtualenv v | ||
| 187 | +source v/bin/activate | ||
| 188 | +cd pikepdf | ||
| 189 | +pip3 install -r requirements/test.txt | ||
| 190 | +rehash | ||
| 191 | +pip3 install . | ||
| 192 | +pytest -n auto | ||
| 193 | + | ||
| 179 | * Update release notes in manual. Look at diffs and ChangeLog. Update | 194 | * Update release notes in manual. Look at diffs and ChangeLog. Update |
| 180 | release date in `manual/qpdf-manual.xml`. Remember to ensure that | 195 | release date in `manual/qpdf-manual.xml`. Remember to ensure that |
| 181 | the entities at the top of the document are consistent with the | 196 | the entities at the top of the document are consistent with the |