File: rules

package info (click to toggle)
sadisplay 0.4.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 124 kB
  • sloc: python: 787; makefile: 11
file content (16 lines) | stat: -rwxr-xr-x 471 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/make -f

-include /usr/share/openstack-pkg-tools/pkgos.make

export PYBUILD_NAME=sadisplay
export PYBUILD_BEFORE_TEST=cp -r {dir}/tests {build_dir}/
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/tests
export PYBUILD_TEST_ARGS_python3=tests

%:
	dh $@ --buildsystem=pybuild --with python3

override_dh_auto_test:
	set -ex ; for i in $(py3versions -vr 2>/dev/null) ; do \
		python$$i -m pytest -v tests -k 'not test_single_mapper and not test_inherits' ; \
	done