[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: patch for printf memory use tests
From: |
Bruno Haible |
Subject: |
Re: patch for printf memory use tests |
Date: |
Mon, 17 Jan 2011 03:49:15 +0100 |
User-agent: |
KMail/1.9.9 |
Hi Bruce,
> > The ability to check against memory leaks is an important feature
> > in the test suite, and it warrants jumping through a number of hoops.
>
> Perhaps then it is worth testing more directly by replacing the
> memory management calls in the memory leak tests?
If we want to check whether a library function, such as dprintf(), has a
memory leak in this way, we need to override the system's malloc()
implementation. But this is only possible
a) on ELF systems, or
b) when linking statically.
Which brings portability / build constraints for the tests, which I would
better avoid.
Bruno
- patch for printf memory use tests, Bruce Korb, 2011/01/14
- Re: patch for printf memory use tests, Bruno Haible, 2011/01/14
- Re: patch for printf memory use tests, Bruce Korb, 2011/01/14
- new module 'get-rusage-as', Bruno Haible, 2011/01/16
- Re: new module 'get-rusage-as', Bruno Haible, 2011/01/18
- Re: new module 'get-rusage-as', Bruce Korb, 2011/01/18
- Re: new module 'get-rusage-as', Bruno Haible, 2011/01/26
- Re: new module 'get-rusage-as', Bruno Haible, 2011/01/23
- Re: new module 'get-rusage-as', Bruno Haible, 2011/01/23