linux-sparse.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: Josh Triplett <josh@freedesktop.org>
Cc: linux-sparse@vger.kernel.org
Subject: Re: [PATCH 1/4] Compile sparse executable under it's own name, not as "check"
Date: Mon, 06 Nov 2006 18:58:25 -0500	[thread overview]
Message-ID: <1162857505.24303.6.camel@dv> (raw)
In-Reply-To: <454F83D8.9030204@freedesktop.org>

Hi Josh,

On Mon, 2006-11-06 at 10:50 -0800, Josh Triplett wrote:
> Regarding your comment about using "make check" for something more useful, I
> would greatly welcome a patch which actually checked sparse against all the
> files in validation/ and tested what those files intended to test.  As far as
> I can tell, it looks like some of them may not work as intended right now; for
> example, it looks like validation/builtin_safe1.c expects
> __attribute__((pure)) and __attribute__((const)) to work and mark a function
> as side-effect-free, which doesn't currently happen in sparse.

I've just mailed a very primitive testsuite.

I would prefer to have a test list and lists for "should be bad" and
"known to fail", but it would have to use double loops or some shell
tricks (e.g. using environment variables as a hash), so I opted for the
simplest approach for now.

By the way, I'm not sure how to distinguish sparse errors from sparse
warnings short of grepping stderr.  For now, any stderr output is an
error.

-- 
Regards,
Pavel Roskin

      reply	other threads:[~2006-11-06 23:58 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-03 22:16 [PATCH 1/4] Compile sparse executable under it's own name, not as "check" Pavel Roskin
2006-11-03 22:17 ` [PATCH 2/4] Install cgcc on "make install", refactor installation code Pavel Roskin
2006-11-03 22:17 ` [PATCH 3/4] Add support for __builtin_strpbrk() Pavel Roskin
2006-11-03 22:17 ` [PATCH 4/4] Typo fixes Pavel Roskin
2006-11-06 18:50 ` [PATCH 1/4] Compile sparse executable under it's own name, not as "check" Josh Triplett
2006-11-06 23:58   ` Pavel Roskin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1162857505.24303.6.camel@dv \
    --to=proski@gnu.org \
    --cc=josh@freedesktop.org \
    --cc=linux-sparse@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).