Jani Averbach wrote:
>On 2003-10-30 23:38+0100, Branko ??ibej wrote:
>
>
>>Jani Averbach wrote:
>>
>>
>>>1) Make a config option for use of ramdisk for test data.
>>>
>>>
>>>
>>That config option should be for SVN's configure "make check", not for
>>the test scripts.
>>
>>
>
>I got lost, If I am using for ramdisk for obj-sh/subversion/test, then
>that mount have to be setuped outside of make check, the easiest steps will
>be:
>
>mkdir -p obj-sh/subversion/test
>
>/etc/fstab:
>tmpfs /data/svntest/obj-sh/subversion/tests \
> tmpfs defaults,user,noauto,exec,size=600m
>
>mount obj-sh/subversion/test
>do config
>do make
>do make check
>umount obj-sh/subversion/test
>
>
Oh. Seems to me that putting this configuration into the svntest files
is a bit of overkill. Why not write a custom wrapper for svntest.sh that
does that for you?
>>They just get built from source during the Subversion build. Nothing
>>special there.
>>
>>
>
>That is exactly what I was afraid of. =)
>
>
But adding --with-apr and --with-apr-util to the configure script should
work just fine.
>>>I have planned to use CVS-timestamp like that
>>> echo "`date --utc -r apr-0.9/CVS '+%Y%m%dT%H%M%S%Z'`" \
>>> > builddir/apr.ts
>>>
>>>to figure out if I will need to rebuild apr, apr-util or httpd.
>>>
>>>
>>>
>>You don't have to rebuild httpd every time. Just require a configured
>>httpd in the right directory. Users can write their configure scripts to
>>use --with-apr(-util) to point to the versions installed with httpd.
>>
>>
>
>Definitely not (building httpd, apr, or apr-util every time). This is
>why I am using ie. apr/CVS dir's timestamp to indicate if there are
>changed sources.
>
>
What I'm saying is, you don't have to add support for building httpd to
the svntest scripts at all. Just document how it should be configured,
and add a line to svntest-config.sh to tell the driver how to run the
server.
>>You could require the user to preconfigure httpd, too; that's a lot easier.
>>
>>
>>
>
>That is true, if I am using same same install target for httpd for
>every time, and when I think it, why not. Right, this will make things
>a lot easier.
>
>
That's what I thought. :-)
>>With caution. :-)
>>
>>
>>
>
>Well, you might hear when I start scream. =)
>
>
Yeah, I used up a lot of valium when I was writing those scripts.
--
Brane Čibej <brane_at_xbc.nu> http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 31 00:06:58 2003