summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-08-19 03:29:41 +0200
committerlpsolit%gmail.com <>2006-08-19 03:29:41 +0200
commit79c7d0e961d9adf2c3a0459594745afb41b19e4c (patch)
treedbebb7509df4edb52339c63ddccbd763fae35ddb
parent6ec682ac4ed38cfc404288c056f0eb28514a15fb (diff)
downloadbugzilla-79c7d0e961d9adf2c3a0459594745afb41b19e4c.tar.gz
bugzilla-79c7d0e961d9adf2c3a0459594745afb41b19e4c.tar.xz
Bug 349198: 001compile.t must not compile mod_perl.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
-rw-r--r--t/001compile.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/t/001compile.t b/t/001compile.t
index ebfc4a5d8..7d0bc0181 100644
--- a/t/001compile.t
+++ b/t/001compile.t
@@ -65,6 +65,12 @@ foreach my $file (@testitems) {
$file =~ s/\s.*$//; # nuke everything after the first space (#comment)
next if (!$file); # skip null entries
+ # Skip mod_perl.pl in all cases. It doesn't compile correctly from the command line.
+ if ($file eq 'mod_perl.pl') {
+ ok(1, "Skipping mod_perl.pl");
+ next;
+ }
+
# Check that we have a DBI module to support the DB, if this is a database
# module (but not Schema)
if ($file =~ m#Bugzilla/DB/([^/]+)\.pm$# && $file ne "Bugzilla/DB/Schema.pm") {