[libdevel-gdb-perl] 01/04: Split-brittle-test-into-two-smaller-ones.patch: new patch, to help debug #784845.

Intrigeri intrigeri at moszumanska.debian.org
Thu Jun 30 12:46:48 UTC 2016


This is an automated email from the git hooks/post-receive script.

intrigeri pushed a commit to branch master
in repository libdevel-gdb-perl.

commit d75e8264231c16cb4c4e06060f040921ef8472d3
Author: intrigeri <intrigeri at boum.org>
Date:   Thu Jun 30 12:12:00 2016 +0000

    Split-brittle-test-into-two-smaller-ones.patch: new patch, to help debug #784845.
---
 .../Split-brittle-test-into-two-smaller-ones.patch | 36 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/Split-brittle-test-into-two-smaller-ones.patch b/debian/patches/Split-brittle-test-into-two-smaller-ones.patch
new file mode 100644
index 0000000..8c216bd
--- /dev/null
+++ b/debian/patches/Split-brittle-test-into-two-smaller-ones.patch
@@ -0,0 +1,36 @@
+From: intrigeri <intrigeri at boum.org>
+Date: Thu, 30 Jun 2016 12:09:42 +0000
+Subject: Split brittle test into two smaller ones.
+
+This tests sometimes fails on ci.d.n and on the reproducible builds
+infrastructure. Let's try to pinpoint more precisely what part of
+it fails.
+
+Bug-Debian: https://bugs.debian.org/784845
+---
+ t/expect.t | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/t/expect.t b/t/expect.t
+index db0a3b4..e7a344e 100644
+--- a/t/expect.t
++++ b/t/expect.t
+@@ -6,7 +6,7 @@ qx/gdb -v/ or
+ eval "use Expect; 1" or
+   plan skip_all => "cannot use 'Expect'" ;
+ 
+-plan tests => 8;
++plan tests => 9;
+ 
+ use_ok('Devel::GDB');
+ my $gdb = new Devel::GDB ( '-params' => '-q',
+@@ -27,7 +27,7 @@ ok($e->expect(undef, '-re', '^.+$')
+ 
+ $e->send("bar\n");
+ 
+-ok($e->expect(undef, '-re', '^.+$')
+-    and $e->match =~ /^BAR/);
++ok($e->expect(undef, '-re', '^.+$'));
++ok($e->match =~ /^BAR/);
+ 
+ $gdb->end;
diff --git a/debian/patches/series b/debian/patches/series
index f6e6708..a5f8b3b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 spelling-error.patch
 stdin.patch
+Split-brittle-test-into-two-smaller-ones.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdevel-gdb-perl.git



More information about the Pkg-perl-cvs-commits mailing list