[gnumeric] t2003: fix the check
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] t2003: fix the check
- Date: Mon, 23 Mar 2015 23:50:49 +0000 (UTC)
commit 83bd021a858e421d9191df9b53766cdfb5c00f1c
Author: Morten Welinder <terra gnome org>
Date: Mon Mar 23 19:50:45 2015 -0400
t2003: fix the check
test/ChangeLog | 5 +++++
test/t2003-random-generators.pl | 2 +-
2 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/test/ChangeLog b/test/ChangeLog
index eff5f05..4dbb0bf 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-23 Morten Welinder <terra gnome org>
+
+ * t2003-random-generators.pl (expected): Fix check to match sstest
+ changes.
+
2015-03-04 Morten Welinder <terra gnome org>
* Release 1.12.21
diff --git a/test/t2003-random-generators.pl b/test/t2003-random-generators.pl
index 1404501..71a269c 100755
--- a/test/t2003-random-generators.pl
+++ b/test/t2003-random-generators.pl
@@ -11,7 +11,7 @@ my $ignore_failure = !($user eq 'welinder' || $user eq 'aguelzow');
sub expected {
my ($actual) = @_;
- my $actual_ok = ($actual =~ /Start: test_random\s*-*\s*(Testing =\S+\s+((\S| )+:
[-+eE0-9.]*\s)*OK\s*)*End: test_random/);
+ my $actual_ok = ($actual =~ /Start: test_random\s*-*\s*(Testing =\S+\s+((\S| )+: .*\n)*OK\s*)*End:
test_random/);
if (!$actual_ok && $ignore_failure) {
print STDERR "Ignoring failure possibly caused by random numbers.\n";
&GnumericTest::dump_indented ($actual);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]