File: rules

package info (click to toggle)
golang-github-gophercloud-gophercloud 0.0~git20180917.45f1c769-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,768 kB
  • sloc: sh: 98; makefile: 14
file content (20 lines) | stat: -rwxr-xr-x 791 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/make -f

# no buildable Go source files in following dir
export DH_GOLANG_EXCLUDES := \
	acceptance/openstack/networking/v2/extensions/qos/ruletypes \
	openstack/networking/v2/extensions/vpnaas/endpointgroups/testing \
	openstack/networking/v2/extensions/vpnaas/ikepolicies/testing \
	openstack/networking/v2/extensions/vpnaas/ipsecpolicies/testing \
	openstack/networking/v2/extensions/vpnaas/services/testing \
	openstack/networking/v2/extensions/vpnaas/siteconnections/testing \
	openstack/workflow/v2/crontriggers/testing \
	openstack/workflow/v2/executions/testing \
	openstack/workflow/v2/workflows/testing

%:
	dh $@ --buildsystem=golang --with=golang

override_dh_auto_test:
	# Ignore tests which access openstack api
	DH_GOLANG_EXCLUDES=acceptance/openstack dh_auto_test