mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Makefile: Move various tests into build system
- This allows those tests to be invoked on console and not just in CI pipelines. Tests: - Running make check works. - CI pipeline succeeds. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> [jvalleroy: Remove phony test target] Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
ba55d8fe2e
commit
2788d6810d
5 files changed
+42
-15
No files matched your search
Vendored
+2
@@ -37,6 +37,7 @@ Build-Depends:
|
||||
python3-flake8,
|
||||
python3-gi,
|
||||
python3-markupsafe,
|
||||
python3-mypy,
|
||||
python3-openssl,
|
||||
python3-pampy,
|
||||
python3-paramiko,
|
||||
@@ -52,6 +53,7 @@ Build-Depends:
|
||||
python3-setuptools-git,
|
||||
# python3-tomli is not available in Bullseye
|
||||
python3-tomli | python3-coverage (<< 6.0),
|
||||
python3-typeshed,
|
||||
python3-yaml,
|
||||
sshpass,
|
||||
xmlto,
|
||||
|
||||
Vendored
+1
-1
@@ -7,7 +7,7 @@ export PYBUILD_CONFIGURE_ARGS=make configure
|
||||
export PYBUILD_BUILD_ARGS=make PYTHON={interpreter} build
|
||||
export PYBUILD_INSTALL_ARGS=make PYTHON={interpreter} DESTDIR={destdir} install
|
||||
export PYBUILD_CLEAN_ARGS=make clean
|
||||
export PYBUILD_TEST_ARGS=make PYTHON={interpreter} check
|
||||
export PYBUILD_TEST_ARGS=make PYTHON={interpreter} check-tests
|
||||
|
||||
%:
|
||||
dh $@ --with python3 --buildsystem=pybuild
|
||||
|
||||
Reference in new issue
Block a user