From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony PERARD Subject: [PATCH OSSTEST v2 5/6] ts-openstack-tempest: Run Tempest to check OpenStack Date: Thu, 6 Aug 2015 18:03:30 +0100 Message-ID: <1438880611-13244-6-git-send-email-anthony.perard@citrix.com> References: <1438880611-13244-1-git-send-email-anthony.perard@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1438880611-13244-1-git-send-email-anthony.perard@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xen.org Cc: Anthony PERARD , Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org Signed-off-by: Anthony PERARD --- sg-run-job | 1 + ts-openstack-tempest | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) create mode 100755 ts-openstack-tempest diff --git a/sg-run-job b/sg-run-job index 5320d62..0b2184b 100755 --- a/sg-run-job +++ b/sg-run-job @@ -363,6 +363,7 @@ proc run-job/test-rumpuserxen {} { proc need-hosts/test-devstack {} { return host } proc run-job/test-devstack {} { run-ts . = ts-openstack-devstack + run-ts . = ts-openstack-tempest } #---------- builds ---------- diff --git a/ts-openstack-tempest b/ts-openstack-tempest new file mode 100755 index 0000000..2bc07c3 --- /dev/null +++ b/ts-openstack-tempest @@ -0,0 +1,35 @@ +#!/usr/bin/perl +# This is part of "osstest", an automated testing framework for Xen. +# Copyright (C) 2015 Citrix Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +use strict qw(vars); +use Osstest; +use Osstest::TestSupport; +use Osstest::BuildSupport; + +tsreadconfig(); +our ($ho,$gho) = ts_get_host_guest(@ARGV); +builddirsprops(); + +sub tempest() { + # The regex is the default one + avoid the two tests know to not work + # which are two variations of test_volume_boot_pattern. + target_cmd($ho, <