apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@apache.org>
Subject Re: Compiling the APR testsuite on Windows
Date Wed, 23 Oct 2002 16:42:46 GMT
At 02:44 AM 10/23/2002, Aaron Bannert wrote:
>On Tue, Oct 22, 2002 at 09:03:02PM -0500, William A. Rowe, Jr. wrote:
>> >Hmm... I haven't looked at the new test stuff, but I wonder how it's
>> >going to deal with the testshm* tests, since those tests depend on
>> >fork() and exec() to work.
>> 
>> As well as they did before...
>> 
>> ... that is, not at all.
>
>How do you mean that they don't work? Anonymous shared memory is not
>currently supported on systems that lack sufficient process inheritance
>mechanisms (ie. fork() and exec()).

I mean, the tests couldn't work (couldn't compile for that matter.)
So we simply walked around those tests.

>> We had a specific sublist of non-win32 modules that was just dropped
>> when we filtered the makefile for win32.
>
>I'm confused as to what you mean by this.

 From makefile.in...

NONPORTABLE = \
        testshm@EXEEXT@ \
        testprocmutex@EXEEXT@ \
        testglobalmutex@EXEEXT@ \
        testregex@EXEEXT@

PROGRAMS = \
        client@EXEEXT@ \
        sendfile@EXEEXT@ \
        server@EXEEXT@ \
        testfile@EXEEXT@ \
        testdir@EXEEXT@ \
        testnames@EXEEXT@ \
        testflock@EXEEXT@ \
        testfmt@EXEEXT@ \
        testproc@EXEEXT@ \
        testsock@EXEEXT@ \
        testthread@EXEEXT@ \
        testlock@EXEEXT@ \
        testlockperf@EXEEXT@ \
        testtime@EXEEXT@ \
        testargs@EXEEXT@ \
        testud@EXEEXT@ \
        testmmap@EXEEXT@ \
        testshmproducer@EXEEXT@ \
        testshmconsumer@EXEEXT@ \
        testpipe@EXEEXT@ \
        testoc@EXEEXT@ \
        testsockopt@EXEEXT@ \
        testipsub@EXEEXT@ \
        testpoll@EXEEXT@ \
        testhash@EXEEXT@ \
        occhild@EXEEXT@ \
        teststr@EXEEXT@ \
        testuser@EXEEXT@ \
        testsockets@EXEEXT@ \
        testvsn@EXEEXT@ \
        testsleep@EXEEXT@ \
        testrand@EXEEXT@ \
        testdup@EXEEXT@ \
        testatomic@EXEEXT@ \
        testpools@EXEEXT@ \
        testmutexscope@EXEEXT@ \
        testtable@EXEEXT@ \
        testall@EXEEXT@

TARGETS = $(PROGRAMS) $(NONPORTABLE)

on win32 we just changed the TARGETS line to

TARGETS = $(PROGRAMS) 

when transforming Makefile.in to Makefile.


Mime
View raw message