File: rules

package info (click to toggle)
pyjunitxml 0.6-1.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 160 kB
  • ctags: 99
  • sloc: python: 429; makefile: 8
file content (13 lines) | stat: -rwxr-xr-x 465 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/make -f

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

# run tests the normal way, and then through subunit
override_dh_auto_test:
	dh_auto_test
	python -m subunit.run junitxml.test_suite | tee tests.log | subunit-stats || subunit-filter < tests.log | subunit2pyunit
	python3 -m subunit.run junitxml.test_suite | tee tests.log | subunit-stats || subunit-filter < tests.log | subunit2pyunit

override_dh_installdocs:
	dh_installdocs NEWS README