#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

PYVERS = $(shell pyversions -r -v)

%:
	dh $@

override_dh_auto_test:
ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
	set -e ;\
	cd tests/keyczar ;\
	for py in $(PYVERS); do  \
		PYTHONPATH=$(CURDIR)/build/lib python$$py alltests.py; \
	done
endif
