Commit 9d8066aa authored by Jonas Smedegaard's avatar Jonas Smedegaard

Distrust upstream testsuite. Check package testsuite during build....

Distrust upstream testsuite. Check package testsuite during build. Build-depend on libtest-command-simple-perl libtest-expect-perl libtest-tempdir-tiny-perl perl.
parent f0602547
......@@ -6,7 +6,13 @@ Build-Depends:
bash-completion,
debhelper,
dh-python,
figlet <!nocheck>,
help2man,
libfile-homedir-perl <!nocheck>,
libtest-command-simple-perl <!nocheck>,
libtest-expect-perl <!nocheck>,
libtest-tempdir-tiny-perl <!nocheck>,
perl <!nocheck>,
python3,
python3-click,
python3-colorama (>= 0.3.7),
......@@ -22,6 +28,7 @@ Build-Depends:
python3-setuptools,
python3-sparqlwrapper,
shellcheck <!nocheck>,
toilet-fonts <!nocheck>,
Standards-Version: 4.3.0
Vcs-Git: https://salsa.debian.org/debian/ontospy.git
Vcs-Browser: https://salsa.debian.org/debian/ontospy
......
......@@ -2,9 +2,6 @@
include /usr/share/dpkg/pkg-info.mk
# resolve if release is experimental
EXP_RELEASE = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION))
destdir = debian/tmp
cmd = ontospy
python3path = $(destdir)/usr/lib/$(shell py3versions -d)/dist-packages
......@@ -27,8 +24,11 @@ override_dh_auto_build:
> debian/_$(cmd) || true
# check shell script
# * try but distrust upstream testsuite
override_dh_auto_test:
dh_auto_test $(if $(EXP_RELEASE), || true)
dh_auto_test || true
PATH="$(path_build):$(PATH)" PYTHONPATH="$(python3path_build)" \
prove debian/tests/*.t
shellcheck --shell bash --exclude=SC2086,SC2206,SC2207,SC2235 \
debian/bash-completion
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment