1 # This script is called by the pre-commit git hook to test modules compile
9 my $lib = File::Spec->rel2abs('C4');
15 return unless $m =~ s/[.]pm$//;
16 return if $m =~ /Auth_with_ldap/; # Dont test this, it will fail on use
17 return if $m =~ /Cache/; # Cache modules are a WIP, add the tests back when we are using them more
18 return if $m =~ /SIP/; # SIP modules will not load clean
19 $m =~ s{^.*/C4/}{C4/};
21 use_ok($m) || BAIL_OUT("***** PROBLEMS LOADING FILE '$m'");