Skip to content
Snippets Groups Projects
Commit 3df1bae7 authored by Thomas Goirand's avatar Thomas Goirand
Browse files

Add rm -rf {build_dir}/.tmp; in test command (Closes: #1089028).

parent 4a841410
No related branches found
No related tags found
No related merge requests found
Pipeline #778619 passed
python-django-compressor (4.5.1-3) UNRELEASED; urgency=medium
python-django-compressor (4.5.1-3) unstable; urgency=medium
* Define explicit debian/tests/control rather than autopkgtest-pkg-pybuild
in d/control.
* Add rm -rf {build_dir}/.tmp; in test command (Closes: #1089028).
-- Thomas Goirand <zigo@debian.org> Mon, 09 Dec 2024 13:46:34 +0100
......
......@@ -4,7 +4,7 @@ UPSTREAM_GIT := https://github.com/django-compressor/django-compressor.git
include /usr/share/openstack-pkg-tools/pkgos.make
export PYBUILD_TEST_CUSTOM = 1
export PYBUILD_TEST_ARGS = mkdir {build_dir}/.tmp; cp -a {dir}/compressor/tests/static {build_dir}/.tmp/static; env TMP_TEST_DIR={build_dir}/.tmp {interpreter} -m coverage run --branch --source=compressor /usr/bin/django-admin test --settings=compressor.test_settings compressor
export PYBUILD_TEST_ARGS = rm -rf {build_dir}/.tmp; mkdir {build_dir}/.tmp; cp -a {dir}/compressor/tests/static {build_dir}/.tmp/static; env TMP_TEST_DIR={build_dir}/.tmp {interpreter} -m coverage run --branch --source=compressor /usr/bin/django-admin test --settings=compressor.test_settings compressor
%:
dh $@ --buildsystem=pybuild --with python3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment