#!/bin/sh
set -e
set -x
export OSLO_PACKAGE_VERSION=$(dpkg-parsechangelog -SVersion | sed -e 's/^[[:digit:]]*://' -e 's/[-].*//' -e 's/~git.*//' -e 's/~/.0/' -e 's/+dfsg1//' -e 's/+ds1//' | head -n 1)
CWD=$(pwd)
PYTHON3S=$(py3versions -vs)
pkgos-dh_auto_install --no-py2 --in-tmp
PYTHONPATH=`pwd`/debian/tmp pkgos-dh_auto_test --no-py2 'ironic_python_agent\.tests\.unit\.(?!test_hardware\.TestListNetworkInterfaces\.test_list_network_vlan_invalid_int|test_inspector\.TestWaitForDhcp\.test_timeout|extensions\.test_standby\.TestStandbyExtension\.test_execute_bootc_install)'
|