~ubuntu-branches/ubuntu/quantal/gnumeric/quantal

« back to all changes in this revision

Viewing changes to test/t2800-style-optimizer.pl

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2009-06-07 11:10:47 UTC
  • mfrom: (1.1.19 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090607111047-l3rtbzfjxvmi1kx0
Tags: 1.9.8-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Promoted gnumeric-doc to Recommends in gnumeric package for help to be
    installed automatically
  - gnumeric-gtk is a transitional package
  - gnumeric conflicts with gnumeric-gtk << 1.8.3-3ubuntu1
  - call initltool-update in po*
  - remove psiconv support (psiconv is in universe):
    o debian/control: remove B-D on libpsiconv-dev
    o debian/rules: don't pass --with-psiconv to ./configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/perl -w
 
2
# -----------------------------------------------------------------------------
 
3
 
 
4
use strict;
 
5
use lib ($0 =~ m|^(.*/)| ? $1 : ".");
 
6
use GnumericTest;
 
7
 
 
8
&message ("Check style optimizer.");
 
9
$ENV{'GNM_DEBUG'} = 'style-optimize:style-optimize-verify';
 
10
 
 
11
my $src = "$samples/excel/statfuns.xls";
 
12
&GnumericTest::report_skip ("file $src does not exist") unless -r $src;
 
13
 
 
14
my $tmp = "statfuns.gnumeric";
 
15
&GnumericTest::junkfile ($tmp);
 
16
 
 
17
&test_command ("$ssconvert $src $tmp", sub { 1 } );