Shutdown: help the style leak printer out a bit.
[gnumeric.git] / test / t9999-epilogue.pl
blobaec20688d247a65b2fb0d81f090a41f8f10c80b3
1 #!/usr/bin/perl -w
2 # -----------------------------------------------------------------------------
4 use strict;
5 use lib ($0 =~ m|^(.*/)| ? $1 : ".");
6 use GnumericTest;
8 &message ("Warnings about things that might affect tests.");
10 my $HOME = $ENV{'HOME'};
12 # ----------------------------------------
14 # No longer true. We use the tree's plugins, at least on Linux.
15 #print STDERR "Warning: tests are run using installed plugins. (\"make install\".)\n";
17 # ----------------------------------------
19 print STDERR "Warning: goal seek tests use random numbers. Report sporadic failures.\n";
21 # ----------------------------------------
23 print STDERR "Warning: you have a ~/.valgrindrc file that might affect tests.\n"
24 if defined ($HOME) && -r "$HOME/.valgrindrc";
26 # ----------------------------------------
28 my $deffont = `gconftool-2 -g /apps/gnumeric/core/defaultfont/name 2>/dev/null`;
29 chomp $deffont;
30 if ($deffont eq '') {
31 print STDERR "Warning: the default font is not set.\n";
32 } elsif ($deffont ne 'Sans') {
33 print STDERR "Warning: the default font is \"$deffont\", not \"Sans\". This may affect tests.\n";
36 # ----------------------------------------
38 print STDERR "Pass\n";