File: rules

package info (click to toggle)
python-flexmock 0.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 460 kB
  • sloc: python: 3,802; makefile: 17; sh: 14
file content (21 lines) | stat: -rwxr-xr-x 866 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f

export PYBUILD_NAME=flexmock

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

override_dh_auto_test:
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} tests/test_unittest.py'
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} tests/test_doctest.py'
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} -m twisted.trial tests/test_generic_integration.py'
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} -m zope.testrunner --test-path=. --test-file-pattern=test_generic_integration'
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} -m testtools.run --verbose tests/test_testtools.py'
	dh_auto_test -- --system=custom \
		--test-args '{interpreter} -m subunit.run tests/test_generic_integration.py | subunit2pyunit'
	dh_auto_test -- --test-pytest --test-args tests/test_pytest.py