File: rules

package info (click to toggle)
pyjunitxml 0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 220 kB
  • sloc: python: 830; makefile: 7
file content (12 lines) | stat: -rwxr-xr-x 335 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/make -f

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

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

override_dh_installdocs:
	dh_installdocs NEWS README