#!/bin/sh

set -e
set -x

export OSLO_PACKAGE_VERSION=0.0.0

CWD=$(pwd)
PYTHON3S=$(py3versions -vs)
for i in ${PYTHON3S} ; do
	python${i} setup.py install --install-layout=deb --root ${CWD}/debian/tmp
done
pkgos-dh_auto_test --no-py2 'refstack_client\.tests\.(?!.*unit\.test_list_parser\.TestTestListParser\.test_get_tempest_test_ids.*)'
