[gnumeric] tests: fix valgrind tests.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] tests: fix valgrind tests.
- Date: Fri, 6 Jun 2014 00:48:14 +0000 (UTC)
commit 2f85299bdb5ad73ac0196d7143c8ba6f3e65cb9e
Author: Morten Welinder <terra gnome org>
Date: Thu Jun 5 20:47:50 2014 -0400
tests: fix valgrind tests.
test/ChangeLog | 5 +++++
test/GnumericTest.pm | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/test/ChangeLog b/test/ChangeLog
index 361d8c2..489bfc7 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-05 Morten Welinder <terra gnome org>
+
+ * GnumericTest.pm (test_valgrind): Be more liberal about valgrind
+ version numbers.
+
2014-05-23 Morten Welinder <terra gnome org>
* Release 1.12.16
diff --git a/test/GnumericTest.pm b/test/GnumericTest.pm
index a6e9f68..cf0d7e7 100644
--- a/test/GnumericTest.pm
+++ b/test/GnumericTest.pm
@@ -467,7 +467,7 @@ sub test_valgrind {
my $valvers = `valgrind --version`;
die "Problem running valgrind.\n"
- unless $valvers =~ /^valgrind-(\d+)\.(\d+)\.(\d+)$/;
+ unless $valvers =~ /^valgrind-(\d+)\.(\d+)\.(\d+)/;
$valvers = $1 * 10000 + $2 * 100 + $3;
&report_skip ("Valgrind is too old") unless $valvers >= 30500;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]