xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Ian Jackson <ian.jackson@eu.citrix.com>
To: xen-devel@lists.xenproject.org
Cc: Ian Jackson <Ian.Jackson@eu.citrix.com>
Subject: [OSSTEST PATCH 14/16] rump kernels: Install binutils on test box
Date: Fri, 7 Oct 2016 17:34:54 +0100	[thread overview]
Message-ID: <1475858096-16123-15-git-send-email-ian.jackson@eu.citrix.com> (raw)
In-Reply-To: <1475858096-16123-1-git-send-email-ian.jackson@eu.citrix.com>

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@eu.citrix.com>
---
 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@lists.xen.org
https://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-10-07 16:36 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-07 16:34 [OSSTEST PATCH 00/16] Fix rump kernel tests Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 01/16] rump-test-net: New test program Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 02/16] rump-test-net: setsockopt V6ONLY off Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 03/16] BuildSupport: builddirsprops: Clean up each builddir Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 04/16] Support guest-specific "toolstack" for guest creation Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 05/16] rump kernels: Provide rumprun toolstack Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 06/16] rump kernels: Specify toolstack for rumprun demo to be rumprun Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 07/16] rump kernels: ts-rumprun-bake: Do not tolerate errors Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 08/16] rump kernels: Provide proper DHCP instructions to rumprun Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 09/16] rump kernels: Provide networking test Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 10/16] TestSupport: guest_unprepare_disk: Make a no-op for guests with no Lvdev Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 11/16] rumprun: xenstorels: Better new regexps for finding output Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 12/16] rumprun: Disable unwanted builds Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 13/16] rump kernels: Adjust indentation in run-job/test-rumprun Ian Jackson
2016-10-07 16:34 ` Ian Jackson [this message]
2016-10-07 16:34 ` [OSSTEST PATCH 15/16] make-flight: Honour $bfi (build flight) for rump tests Ian Jackson
2016-10-07 16:34 ` [OSSTEST PATCH 16/16] rump kernels: Build with RUMP_DEV_XEN_DEBUG and filter out debug messages Ian Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1475858096-16123-15-git-send-email-ian.jackson@eu.citrix.com \
    --to=ian.jackson@eu.citrix.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).