[gnumeric] Test: handle verbose test calc tests.



commit 05ebd7c58e0c8a95b2f9890c2da3b24bdbe08926
Author: Morten Welinder <terra gnome org>
Date:   Sat Dec 27 18:39:26 2014 -0500

    Test: handle verbose test calc tests.

 test/GnumericTest.pm |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/test/GnumericTest.pm b/test/GnumericTest.pm
index f71a92e..04ff361 100644
--- a/test/GnumericTest.pm
+++ b/test/GnumericTest.pm
@@ -229,9 +229,11 @@ sub test_sheet_calc {
     $tmp =~ s/\.[a-zA-Z0-9]+$/.csv/;
     &junkfile ($tmp);
 
-    my $code = system ("$ssconvert " .
-                      join (" ", @$pargs) .
-                      " --recalc --export-range='$range' '$file' '$tmp' 2>&1 | sed -e 's/^/| /'");
+    my $cmd = "$ssconvert " .
+       join (" ", @$pargs) .
+       " --recalc --export-range='$range' '$file' '$tmp'";
+    print STDERR "# $cmd\n" if $verbose;
+    my $code = system ("$cmd 2>&1 | sed -e 's/^/| /' ");
     &system_failure ($ssconvert, $code) if $code;
 
     my $actual = &read_file ($tmp);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]