зеркало из https://github.com/mozilla/gecko-dev.git
Bug 282509: Bugzilla now requires perl 5.6.1
Patch By Max Kanat-Alexander <mkanat@kerio.com> r,a=justdave
This commit is contained in:
Родитель
98bbde7d13
Коммит
a775ddf7f7
|
@ -121,7 +121,7 @@ BEGIN {
|
||||||
if ($^O =~ /MSWin32/i) {
|
if ($^O =~ /MSWin32/i) {
|
||||||
require 5.008001; # for CGI 2.93 or higher
|
require 5.008001; # for CGI 2.93 or higher
|
||||||
}
|
}
|
||||||
require 5.006;
|
require 5.006_001;
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
chdir dirname($0);
|
chdir dirname($0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,11 +32,11 @@ use Support::Files;
|
||||||
|
|
||||||
use Test::More tests => scalar(@Support::Files::testitems);
|
use Test::More tests => scalar(@Support::Files::testitems);
|
||||||
|
|
||||||
# Bugzilla requires Perl 5.6 now. Checksetup will tell you this if you run it, but
|
# Bugzilla requires Perl 5.6.1 now. Checksetup will tell you this if you run it, but
|
||||||
# it tests it in a polite/passive way that won't make it fail at compile time. We'll
|
# it tests it in a polite/passive way that won't make it fail at compile time. We'll
|
||||||
# slip in a compile-time failure if it's missing here so a tinderbox on 5.00503 won't
|
# slip in a compile-time failure if it's missing here so a tinderbox on 5.00503 won't
|
||||||
# pass and mistakenly let people think Bugzilla works on 5.00503
|
# pass and mistakenly let people think Bugzilla works on 5.00503
|
||||||
require 5.006;
|
require 5.006_001;
|
||||||
|
|
||||||
# Capture the TESTOUT from Test::More or Test::Builder for printing errors.
|
# Capture the TESTOUT from Test::More or Test::Builder for printing errors.
|
||||||
# This will handle verbosity for us automatically.
|
# This will handle verbosity for us automatically.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче