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:
Sunil Mohan Adapa authored and James Valleroy committed 2024-02-12 19:17:16 -05:00
1 parent ba55d8fe2e
commit 2788d6810d
5 files changed
+42 -15

No files matched your search

+2
View File
@@ -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,
+1 -1
View File
@@ -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