File: rules

package info (click to toggle)
libpoe-loop-tk-perl 1.305-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 100 kB
  • sloc: perl: 441; makefile: 6
file content (9 lines) | stat: -rwxr-xr-x 222 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
#!/usr/bin/make -f

%:
	dh $@

override_dh_auto_test:
	perl -MNet::Ping -e '(Net::Ping->new()->ping("127.0.0.1", 1)) ? \
		system("touch run_network_tests") : system("rm -rf run_network_tests");'
	xvfb-run -a dh_auto_test