3 @@ -24,7 +24,7 @@ BEGIN {
7 -use lib qw(lib Apache-Test/lib);
11 use File::Spec::Functions;
12 @@ -117,16 +117,6 @@ sub get_DEFINE {
17 - # mod_perl test suite relies on having Apache-Test bundled with
18 - # the mod_perl source, since any pre-installed version may not do
20 - unless (-d "Apache-Test") {
21 - error "Can't find a sub-directory Apache-Test. " .
22 - "Make sure that you are using a complete source distribution";
26 set_modperl_version();
28 if ($old_modperl_version) {
29 @@ -798,14 +788,9 @@ run_tests : test_clean
31 cd ModPerl-Registry && $(MAKE) test
34 - cd Apache-Reload && $(MAKE) test
38 $preamble .= <<'EOF' unless $build->mpm_is_threaded();
40 - cd Apache-SizeLimit && $(MAKE) test
44 @@ -816,37 +801,6 @@ EOF
51 - my $string = $self->ModPerl::BuildMM::MY::postamble;
54 -mydist : Apache-Test/META.yml mod_perl.spec manifest tardist
57 - @[ -d $(PWD)/rpm ] || mkdir $(PWD)/rpm
58 - rpmbuild -ta --define "_rpmdir $(PWD)/rpm" \
59 - --define "_srcrpmdir $(PWD)/rpm" \
61 - @mv $(PWD)/rpm/*/*.rpm $(PWD)/rpm/
62 - @rm -rf $(PWD)/rpm/*/
64 -mod_perl.spec: build/make_rpm_spec
65 - $(PERL) build/make_rpm_spec
67 -Apache-Test/META.yml:
68 - cd Apache-Test && make metafile
71 - svn copy https://svn.apache.org/repos/asf/perl/modperl/trunk https://svn.apache.org/repos/asf/perl/modperl/branches/release/$(VERSION_SYM)
72 - svn copy https://svn.apache.org/repos/asf/perl/modperl/branches/release/$(VERSION_SYM) https://svn.apache.org/repos/asf/perl/modperl/tags/$(VERSION_SYM)
73 - svn copy https://svn.apache.org/repos/asf/perl/modperl/docs/trunk https://svn.apache.org/repos/asf/perl/modperl/docs/tags/$(VERSION_SYM)
79 # this is a workaround so that ModPerl::MM will move MY::constants
80 # away, and Apache-Test/Makefile.PL which has its own MY::constants
81 # won't get complaints on MY::constants redefined
82 --- a/ModPerl-Registry/Makefile.PL
83 +++ b/ModPerl-Registry/Makefile.PL
84 @@ -14,7 +14,7 @@ use Apache::TestMM qw(test clean);
88 - "Apache::Test" => "", # any version will do?
89 + "Apache::Test" => 0, # any version will do?
92 my @scripts = qw(t/TEST t/SMOKE);
93 --- a/lib/ModPerl/BuildMM.pm
94 +++ b/lib/ModPerl/BuildMM.pm
95 @@ -38,12 +38,10 @@ my @methods = grep *{$stash->{$_}}{CODE}
96 ModPerl::MM::override_eu_mm_mv_all_methods(@methods);
99 -my $apache_test_dir = catdir Cwd::getcwd(), "Apache-Test", "lib";
101 #to override MakeMaker MOD_INSTALL macro
103 q{$(PERL) -I$(INST_LIB) -I$(PERL_LIB) \\}."\n" .
104 - qq{-I$apache_test_dir -MModPerl::BuildMM \\}."\n" .
105 + qq{-MModPerl::BuildMM \\}."\n" .
106 q{-e "ExtUtils::Install::install({@ARGV},'$(VERBINST)',0,'$(UNINST)');"}."\n";
109 @@ -269,7 +267,7 @@ sub ModPerl::BuildMM::MY::postamble {
112 '$(FULLPERL) -I$(INST_LIB) ' .
113 - "-I$apache_test_dir -MModPerl::BuildMM " .
114 + "-MModPerl::BuildMM " .
115 "-e ModPerl::BuildMM::glue_pod $pm $podpath $blib";
117 # Win32 doesn't normally install man pages
118 --- a/lib/ModPerl/Manifest.pm
119 +++ b/lib/ModPerl/Manifest.pm
120 @@ -33,7 +33,6 @@ our @EXPORT_OK = qw(mkmanifest);
124 - Apache-Test/META.yml