From e04f7c0a267bf0c3b849b75b57dd6a25fb5ac249 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 7 Jan 2019 10:41:38 +0100 Subject: [PATCH] HACKING: several small fixes and additions --- HACKING | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/HACKING b/HACKING index b335143..63f218c 100644 --- a/HACKING +++ b/HACKING @@ -9,9 +9,10 @@ Running the testsuite --------------------- $ python3 setup.py test + $ ./test.sh -Fixing the testsuite --------------------- +Fixing the setup.py testsuite +----------------------------- Sometimes your changes will break the testsuite. The testsuite works by comparing the images found in `src/tests/input` with the corresponding PDF @@ -24,6 +25,15 @@ files in the `src/tests/output` directory via the command line, run: This makes it easier to spot where the differences are and how to fix the issue. +Fixing the test.sh testsuite +---------------------------- + +If your changes break test.sh, then the script will abort immediately and tell +you where it left the temporary files for you to inspect. You can also try +running the script like this for maximum verbosity: + + $ sh -x ./test.sh + Making a new release -------------------- @@ -40,5 +50,5 @@ Making a new release - Build and upload to pypi: - $ python3 setup.py sdist bdist_wheel + $ python3 setup.py sdist $ twine upload --sign dist/*