#!/usr/bin/perl use Cwd; use File::Spec::Functions qw(rel2abs); use File::Basename; # # abiword compile options # # get the root of the testsuite $root=dirname(rel2abs($0)); # NOTE: the prefix is relative to the $root variable # WARNING WARNING WARNING: $root/$prefix WILL BE "rm -rf"-ed!! $prefix = ".local"; # the branches to run the testsuite on @branches = ( ["http://svn.abisource.com/abiword/trunk", "abiword"] ); # patches to apply to the tree before executing the testsuite @patches = ( "testsuite-forcelayout" ); # flags to be passed to abiword's make command $make_flags = "-j4"; # # regression test options # # list of directories containing test sets @tests = ( "impexp", "warnings" ); $do_diff = 1; # execute the diff test $do_vg = 0; # execute the valgrind test (takes a while) $vg_options = "-v --show-reachable=yes --leak-resolution=high --num-callers=16 --leak-check=full --suppressions=$root/suppressions/impexp.supp"; # arguments passed to valgrind $do_gprof = 0; # execute the gprof 'test' # # reporting options # $html = 1; # set to 1 to output a nicely formatted HTML page $pass_colour = "11dd11"; $fail_colour = "dd1111"; $warn_colour = "e59800"; $skip_colour = "9999dd"; 1;