From bf3807304f80a6b02c1b35d3aee928fde11a4aaa Mon Sep 17 00:00:00 2001 From: James Page Date: Mon, 13 Feb 2017 11:32:43 +0000 Subject: [PATCH] Misc fixes for gate tests Ensure snapd and the core snap are installed as required to test build a classic snap. Change-Id: If7d68fc16a76fd2374bfcc49256f5126b87517fc --- .gitreview | 4 ++++ bindep.txt | 1 + tox.ini | 4 ++++ 3 files changed, 9 insertions(+) create mode 100644 .gitreview diff --git a/.gitreview b/.gitreview new file mode 100644 index 0000000..6940eb9 --- /dev/null +++ b/.gitreview @@ -0,0 +1,4 @@ +[gerrit] +host=review.openstack.org +port=29418 +project=openstack/snap-tempest.git diff --git a/bindep.txt b/bindep.txt index 5816a55..8d8c1a2 100644 --- a/bindep.txt +++ b/bindep.txt @@ -1 +1,2 @@ snapcraft [platform:dpkg] +snapd [platform:dpkg] diff --git a/tox.ini b/tox.ini index 997c257..7360ffc 100644 --- a/tox.ini +++ b/tox.ini @@ -6,9 +6,13 @@ skipsdist = True basepython = python3.5 install_command = pip install {opts} {packages} passenv = HOME TERM +whitelist_externals = + sudo + snapcraft [testenv:snap] deps = -r{toxinidir}/requirements.txt commands = + sudo snap install core snapcraft clean snapcraft snap