From: Ian Campbell <ian.campbell@citrix.com>
To: ian.jackson@eu.citrix.com
Cc: Ian Campbell <ian.campbell@citrix.com>, xen-devel@lists.xen.org
Subject: [PATCH OSSTEST] Stash debug symbols for build results
Date: Fri, 25 Oct 2013 15:28:24 +0100 [thread overview]
Message-ID: <1382711304-9218-1-git-send-email-ian.campbell@citrix.com> (raw)
Specifically xen-syms (2.5M) and the vmlinux (~90M) file. I'm not sure if 90M
is too big to be stashed, for reference kerndist.tar.gz is ~60M
---
Osstest/TestSupport.pm | 12 +++++++++++-
ts-kernel-build | 1 +
ts-xen-build | 1 +
3 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/Osstest/TestSupport.pm b/Osstest/TestSupport.pm
index f4ec055..95f3541 100644
--- a/Osstest/TestSupport.pm
+++ b/Osstest/TestSupport.pm
@@ -67,7 +67,7 @@ BEGIN {
propname_massage
get_stashed open_unique_stashfile
- dir_identify_vcs build_clone built_stash
+ dir_identify_vcs build_clone built_stash built_stash_file
hg_dir_revision git_dir_revision vcs_dir_revision
store_revision store_vcs_revision
@@ -1044,6 +1044,16 @@ END
store_runvar("path_$item", $stashleaf);
}
+sub built_stash_file ($$$$) {
+ my ($ho, $builddir, $item, $fname) = @_;
+ my $build= "build";
+ my $stashleaf= "$build/$item";
+ ensuredir("$stash/$build");
+ target_getfile($ho, 300,
+ "$builddir/$fname",
+ "$stash/$stashleaf");
+}
+
sub vcs_dir_revision ($$$) {
my ($ho,$builddir,$vcs) = @_;
no strict qw(refs);
diff --git a/ts-kernel-build b/ts-kernel-build
index 5630dd7..9462278 100755
--- a/ts-kernel-build
+++ b/ts-kernel-build
@@ -321,3 +321,4 @@ if ($r{tree_linuxfirmware}) {
fwinstall();
}
built_stash($ho, $builddir, 'dist', 'kerndist');
+built_stash_file($ho, $builddir, 'vmlinux', 'linux/vmlinux');
diff --git a/ts-xen-build b/ts-xen-build
index 8a905f5..e5c5725 100755
--- a/ts-xen-build
+++ b/ts-xen-build
@@ -198,6 +198,7 @@ sub stash () {
"xen-unstable/dist/${part}install",
"${part}dist");
}
+ built_stash_file($ho, $builddir, "xen-syms", "xen-unstable/xen/xen-syms");
}
sub checkversions () {
--
1.7.10.4
next reply other threads:[~2013-10-25 14:28 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-25 14:28 Ian Campbell [this message]
2013-10-28 15:46 ` [PATCH OSSTEST] Stash debug symbols for build results Ian Jackson
2013-10-31 12:14 ` Ian Campbell
2013-10-31 12:59 ` Ian Campbell
2013-10-31 14:13 ` Ian Jackson
2013-10-31 14:19 ` Andrew Cooper
2013-10-31 16:49 ` Ian Campbell
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=1382711304-9218-1-git-send-email-ian.campbell@citrix.com \
--to=ian.campbell@citrix.com \
--cc=ian.jackson@eu.citrix.com \
--cc=xen-devel@lists.xen.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).