2 # -----------------------------------------------------------------------------
5 use lib
($0 =~ m
|^(.*/)| ?
$1 : ".");
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`;
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";