Add comment re. testing PyInstaller executables

This commit is contained in:
Chris Wood 2019-10-07 11:31:29 -04:00
parent ee5a0d27bd
commit 105ddc005e
3 changed files with 9 additions and 0 deletions

View File

@ -52,6 +52,9 @@ test_script:
- | - |
%PYTHON%\Scripts\tox.exe -e coverage %PYTHON%\Scripts\tox.exe -e coverage
%PYTHON%\Scripts\tox.exe -e pyinstaller %PYTHON%\Scripts\tox.exe -e pyinstaller
# To verify that the resultant PyInstaller-generated binary executes
# cleanly (i.e., that it terminates with an exit code of 0 and isn't
# failing due to import/packaging-related errors, etc.).
dist\Tahoe-LAFS\tahoe.exe --version dist\Tahoe-LAFS\tahoe.exe --version
after_test: after_test:

View File

@ -106,6 +106,9 @@ jobs:
~/.local/bin/tox -e pyinstaller ~/.local/bin/tox -e pyinstaller
- run: - run:
# To verify that the resultant PyInstaller-generated binary executes
# cleanly (i.e., that it terminates with an exit code of 0 and isn't
# failing due to import/packaging-related errors, etc.).
name: "Test PyInstaller executable" name: "Test PyInstaller executable"
command: | command: |
dist/Tahoe-LAFS/tahoe --version dist/Tahoe-LAFS/tahoe --version

View File

@ -29,6 +29,9 @@ script:
else else
tox -e ${T} tox -e ${T}
fi fi
# To verify that the resultant PyInstaller-generated binary executes
# cleanly (i.e., that it terminates with an exit code of 0 and isn't
# failing due to import/packaging-related errors, etc.).
if [ "${T}" = "pyinstaller" ]; then dist/Tahoe-LAFS/tahoe --version; fi if [ "${T}" = "pyinstaller" ]; then dist/Tahoe-LAFS/tahoe --version; fi
after_success: after_success: