gnumeric r17034 - trunk/test
- From: mortenw svn gnome org
- To: svn-commits-list gnome org
- Subject: gnumeric r17034 - trunk/test
- Date: Sun, 28 Dec 2008 22:19:08 +0000 (UTC)
Author: mortenw
Date: Sun Dec 28 22:19:08 2008
New Revision: 17034
URL: http://svn.gnome.org/viewvc/gnumeric?rev=17034&view=rev
Log:
2008-12-28 Morten Welinder <terra gnome org>
* GnumericTest.pm (test_valgrind): Skip test if valgrind is not
found.
Modified:
trunk/test/ChangeLog
trunk/test/GnumericTest.pm
trunk/test/t8003-valgrind-pdf.pl
Modified: trunk/test/GnumericTest.pm
==============================================================================
--- trunk/test/GnumericTest.pm (original)
+++ trunk/test/GnumericTest.pm Sun Dec 28 22:19:08 2008
@@ -261,6 +261,7 @@
&junkfile ($outfile);
my $valhelp = `valgrind --help 2>&1`;
+ &report_skip ("Valgrind is not available") unless defined $valhelp;
die "Problem running valgrind.\n" unless $valhelp =~ /log-file/;
$cmd = "--gen-suppressions=all $cmd";
Modified: trunk/test/t8003-valgrind-pdf.pl
==============================================================================
--- trunk/test/t8003-valgrind-pdf.pl (original)
+++ trunk/test/t8003-valgrind-pdf.pl Sun Dec 28 22:19:08 2008
@@ -7,6 +7,8 @@
# We get hit by a bitfield error on old Valgrinds.
my $valgrind_version = `valgrind --version 2>&1`;
+&GnumericTest::report_skip ("Valgrind is not available")
+ unless defined $valgrind_version;
my ($ma,$mi,$rv) = $valgrind_version =~ /^valgrind-?\s*(\d+)\.(\d+)\.(\d+)/;
&GnumericTest::report_skip ("Valgrind is missing or too old")
unless (($ma || 0) * 1000 + ($mi || 0)) * 1000 + ($rv || 0) > 3001001;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]