[Rt-commit] rt branch, 4.2/concise-missing-testdep, created. rt-4.0.1-232-g6a32fc5
Alex Vandiver
alexmv at bestpractical.com
Tue Jul 5 17:41:24 EDT 2011
The branch, 4.2/concise-missing-testdep has been created
at 6a32fc5f4b4b02b8ea43764ee84a2b169d6a9646 (commit)
- Log -----------------------------------------------------------------
commit 6a32fc5f4b4b02b8ea43764ee84a2b169d6a9646
Author: Alex Vandiver <alexmv at bestpractical.com>
Date: Tue Jul 5 17:39:40 2011 -0400
If a module is missing, don't bother spewing the full @INC; simply let it show as MISSING
diff --git a/sbin/rt-test-dependencies.in b/sbin/rt-test-dependencies.in
index 31ff58f..8cbc3a1 100755
--- a/sbin/rt-test-dependencies.in
+++ b/sbin/rt-test-dependencies.in
@@ -430,6 +430,10 @@ sub test_dep {
$error =~ s/at \(eval \d+\) line \d+\.$//;
undef $error if $error =~ /this is only/;
+ my $path = $module;
+ $path =~ s{::}{/}g;
+ undef $error if $error =~ /^Can't locate $path\.pm in \@INC/;
+
return ( 0, $error );
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list