You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Sander Striker <s....@striker.nl> on 2001/05/10 19:57:39 UTC
RE: cvs commit: apr/test testmem.c Makefile.in
> dreid 01/05/09 10:46:24
>
> Modified: test Makefile.in
> Added: test testmem.c
> Log:
> Add a test file for the new memory code. Pretty simple, but at least it
> tests that the code works and allows development to continue.
> Not included
> in the normal build.
Ok, asking the obvious right now, but what is the place to add both the
memory code and the testmem code to the normal build?
I would like to add this to my local setup for testing, but in the
'correct' location(s).
Sander
RE: cvs commit: apr/test testmem.c Makefile.in
Posted by Sander Striker <s....@striker.nl>.
Thanks.
Oh, btw, the output from testmem:
APR Memory Test
===============
Standard Memory
Creating the memory area............................OK
Creating 10 lumps of memory, each 1024 bytes........OK
Writing to the lumps of memory......................OK
Check what we wrote.................................OK
Freeing the memory we created.......................OK
Tracking Memory
Creating the memory area............................OK
Creating 10 lumps of memory, each 1024 bytes........OK
Writing to the lumps of memory......................OK
Check what we wrote.................................OK
About to reset the tracking memory..................
OK
Creating 10 lumps of memory, each 1024 bytes........OK
Writing to the lumps of memory......................OK
Check what we wrote.................................OK
Freeing the memory we created.......................OK
Trying to destroy the tracking memory segment...............OK
Trying to destroy the standard memory segment...............OK
Memory test complete.
[...]
> The "correct" place is to add the directory memory to the list in
> apr_modules in configure.in, then run
>
> ../buildconf;./configure;make
>
> As for testmem, just do make testmem in the test directory.
> It'll be added once we know the code works.
Ack.
> david
Sander
Re: cvs commit: apr/test testmem.c Makefile.in
Posted by David Reid <dr...@jetnet.co.uk>.
The "correct" place is to add the directory memory to the list in
apr_modules in configure.in, then run
./buildconf;./configure;make
As for testmem, just do make testmem in the test directory. It'll be added
once we know the code works.
david
----- Original Message -----
From: "Sander Striker" <s....@striker.nl>
To: <de...@apr.apache.org>
Sent: Thursday, May 10, 2001 6:57 PM
Subject: RE: cvs commit: apr/test testmem.c Makefile.in
> > dreid 01/05/09 10:46:24
> >
> > Modified: test Makefile.in
> > Added: test testmem.c
> > Log:
> > Add a test file for the new memory code. Pretty simple, but at least
it
> > tests that the code works and allows development to continue.
> > Not included
> > in the normal build.
>
> Ok, asking the obvious right now, but what is the place to add both the
> memory code and the testmem code to the normal build?
>
> I would like to add this to my local setup for testing, but in the
> 'correct' location(s).
>
> Sander
>
>