| 1 |
#!/bin/sh |
| 2 |
|
| 3 |
set -e |
| 4 |
set -x |
| 5 |
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) |
| 6 |
|
| 7 |
CWD=$(pwd) |
| 8 |
PYTHON3S=$(py3versions -vs) |
| 9 |
for i in ${PYTHON3S} ; do |
| 10 |
python${i} setup.py install --install-layout=deb --root ${CWD}/debian/tmp |
| 11 |
done |
| 12 |
pkgos-dh_auto_test --no-py2 '--test-path ./config_tempest/tests' 'config_tempest\.tests\.services\.(?!.*test_image\.TestImageService.*)' |