Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: [rfc] new ModPerl::MM: msg#00172

apache.mod-perl.devel

Subject: Re: [rfc] new ModPerl::MM

Geoffrey Young wrote:

Stas Bekman wrote:
> Geoffrey Young wrote:
>
>> # The whitespace in front of @echo MUST be a single tab!
>> return <<'EOF';
>> test::
>> @echo This test suite requires Apache::Test
>> @echo available from the mod_perl 2.0 sources
>> @echo or the httpd-test distribution.
>> EOF
>
>
> I think you should also include the 'pure_all' target, so 'make test'
> doesn't preclude 'make':

I don't understand what you mean here. what does pure_all cover and how would this test target interfere with it? I suppose that there are lots of targets, but I figured that Apache::Test just installs its own test target, so doing the same would be sufficient. but I dunno.

You should be able to do: perl Makefile.PL && make test
In your case, this won't work. pure_all tells the test target to run the 'all' target first (which is the default target when you say 'make', equivalent to 'make all').

>
> return <<'EOF';
> test : pure_all
> @echo \*** This test suite requires Apache::Test available from the
> @echo \*** mod_perl 2.0 sources or the httpd-test distribution.
> EOF
>
> btw, what's the difference between : and :: in the makefile target?

there is some difference, but I really forget what it is. what I do remember is that when I made the rarget test: make complained about seeing two targets (test: and test::), so I figured that MakeMaker wasn't picking it up properly.

Why do you end up with two test targets in first place?


__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxxxxxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qplus.devel/200...    network.jabber....    debian.qa-packa...    encryption.gpg....    python.dabo.dev...    uclinux.devel/2...    science.mathema...    recreation.pesc...    kernel.ck/2004-...    mozilla.devel.e...    tex.latex.prosp...    ietf.multi6/200...    bbc.cvs/2002-11...    xfree86.newbie/...    jakarta.taglibs...    altlinux.hardwa...    comedi/2002-05/...    horde.bugs/2004...    games.diplomacy...    finance.e-gold....    web.dom.test-su...    lang.ruby.rails...    os.netbsd.devel...    video.gstreamer...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation