4 use lib "$Bin/../lib"; # Test packages
5 use lib "$Bin/../../lib"; # PsN packages
10 use vars qw/ $opt_debug
15 $opt_generate_facit /;
17 ## Configure the command line parsing
18 Getopt::Long::config("auto_abbrev");
20 ## Declare the options
21 my $res = GetOptions("debug:1",
28 debug -> level( $opt_debug );
29 debug -> package( $opt_debug_package );
30 debug -> subroutine( $opt_debug_subroutine );
32 my @tests = ( 'scripts_test' );
34 foreach my $test( @tests ){
35 my $top_dir = $Bin . '/..';
36 $top_dir =~ s/[^\/]*\/\.\.//;
38 $test -> test( verbose => $opt_verbose,
40 debug_package => $opt_debug_package,
41 debug_subroutine => $opt_debug_subroutine,
43 generate_facit => $opt_generate_facit,
44 directory => $top_dir );