[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: warnings in unit tests
From: |
Bernhard Voelker |
Subject: |
Re: warnings in unit tests |
Date: |
Wed, 9 Jun 2021 09:23:07 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2 |
On 6/8/21 12:57 PM, Bruno Haible wrote:
> The difference between lib/ and tests/ is that code in lib/ goes into
> the binaries delivered by the packages, and therefore if a package
> maintainer makes an effort to silence a warning, we will consider
> their patch. Whereas for tests, as I said, it is too much
> of an effort/cost to do so.
One little aspect of the tests code is that people might look (also) there to
learn how to use a certain gnulib module, and then copy/paste the code from
there into their projects.
That's at least true for the good test cases, surely not for those provoking
errors.
This means it may be worthwhile to have at least the good test cases in a
warning-
free shape (which I think it most often already is).
Have a nice day,
Berny
- warnings in unit tests, (continued)
- warnings in unit tests, Bruno Haible, 2021/06/07
- Re: warnings in unit tests, Jim Meyering, 2021/06/08
- Re: warnings in unit tests, Bruno Haible, 2021/06/08
- Re: warnings in unit tests, Dmitry V. Levin, 2021/06/08
- Re: warnings in unit tests, Bruno Haible, 2021/06/10
- Message not available
- Re: warnings in unit tests, Bruno Haible, 2021/06/08
- Re: warnings in unit tests, Paul Eggert, 2021/06/08
- Re: warnings in unit tests, Dmitry V. Levin, 2021/06/09
- Re: warnings in unit tests, Bruno Haible, 2021/06/09
- Re: warnings in unit tests, Bruno Haible, 2021/06/10
- Re: warnings in unit tests,
Bernhard Voelker <=
- Re: warnings in unit tests, Bruno Haible, 2021/06/09
- Re: warnings in unit tests, Simon Josefsson, 2021/06/10
- Re: warnings in unit tests, Bruno Haible, 2021/06/10
- Re: warnings in unit tests, Simon Josefsson, 2021/06/10
- Re: warnings in unit tests, Eric Blake, 2021/06/11
- Re: warnings in unit tests, Bruno Haible, 2021/06/11
Re: new module 'sigsegv', Bruno Haible, 2021/06/19