[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [OSSTEST PATCH 14/16] rump kernels: Install binutils on test box
The `rumprun' tool needs `readelf' which is in binutils. This introduces a new test step, which is idempotent. Signed-off-by: Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx> --- sg-run-job | 1 + ts-rumprun-test-prep | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100755 ts-rumprun-test-prep diff --git a/sg-run-job b/sg-run-job index 61cb369..57080e7 100755 --- a/sg-run-job +++ b/sg-run-job @@ -460,6 +460,7 @@ proc test-guest-nomigr {g} { proc need-hosts/test-rumprun {} { return host } proc run-job/test-rumprun {} { + run-ts . = ts-rumprun-test-prep + host set g nettest run-ts . = ts-rumprun-demo-setup + host $g run-ts . = ts-guest-start + host $g diff --git a/ts-rumprun-test-prep b/ts-rumprun-test-prep new file mode 100755 index 0000000..60be5f4 --- /dev/null +++ b/ts-rumprun-test-prep @@ -0,0 +1,36 @@ +#!/usr/bin/perl -w +# This is part of "osstest", an automated testing framework for Xen. +# Copyright (C) 2009-2013 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 <http://www.gnu.org/licenses/>. + +use strict qw(vars); +use DBI; +use Osstest; +use POSIX; +use Osstest::TestSupport; +use Osstest::Debian; + +tsreadconfig(); + +our ($whhost) = @ARGV; +$whhost ||= 'host'; +our $ho= selecthost($whhost); + +sub packages () { + target_install_packages($ho, + qw(binutils)); +} + +packages(); -- 2.1.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx https://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |