2 # -----------------------------------------------------------------------------
5 use lib
($0 =~ m
|^(.*/)| ?
$1 : ".");
8 &setup_python_environment
();
10 my $python_script = $0;
11 $python_script =~ s/\.pl$/.py/;
13 for my $file ('format-tests.gnumeric') {
14 my $src = "$samples/$file";
16 $dst =~ s{\.([^./]+)$}{-copy.$1};
19 &GnumericTest
::junkfile
($dst);
21 &test_command
($PYTHON . ' ' .
22 &GnumericTest
::quotearg
($python_script, $src, $dst),
25 &test_command
(&GnumericTest
::quotearg
($ssdiff, '--xml', $src, $dst),
28 &GnumericTest
::removejunk
($dst);