summaryrefslogtreecommitdiffstats
path: root/tests/t-provides-arch-qualified/Makefile
blob: 0334b194154823a08377848edee71061b70bc3c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
TESTS_DEB := pkg-a pkg-b

include ../Test.mk

test-case:
	$(DPKG) --add-architecture i386
	$(DPKG) --add-architecture amd64
	$(DPKG_INSTALL) pkg-a.deb
	# test if the conflicting package fails on install
	! $(DPKG_INSTALL) pkg-b.deb

test-clean:
	$(DPKG_PURGE) pkg-b
	$(DPKG_PURGE) pkg-a
	$(DPKG) --remove-architecture i386
	$(DPKG) --remove-architecture amd64