all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: zimoun <zimon.toutoune@gmail.com>
To: Christopher Baines <mail@cbaines.net>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Package gmsh: best practise with test-suite?
Date: Mon, 11 Feb 2019 20:56:20 +0100	[thread overview]
Message-ID: <CAJ3okZ3pFVbYSDiYo+ynZYyXMb8eLWTaT7QzJzsvPSOWQDuUUQ@mail.gmail.com> (raw)
In-Reply-To: <875ztqdsjt.fsf@cbaines.net>

Hi Chris,

Thank you for your tip.

On Mon, 11 Feb 2019 at 20:38, Christopher Baines <mail@cbaines.net> wrote:
> zimoun <zimon.toutoune@gmail.com> writes:
>
> > What is the better?
> >  a- Patch the CMakeLists.txt to generate only the right tests
> >  b- Turn off all the tests
>
> There may be a third option, run only the tests that are known to pass.
>
> I know very little about CMake, but I searched for ctest, which is
> something mentioned in the CMakeLists.txt file, and it brought up this
> [1] which mentions --exclude-regex and --label-exclude. Maybe these
> could somehow be passed in, or maybe set through environment variables?

From my understanding, the cmake-build-system calls "make test" and
not "ctest". Right?

If I understand well, the idea should be to turn off the all tests
("#:tests? #f") and to add a final phase calling "ctest" with the
correct tests. Does this make sense?


All the best,
simon

  reply	other threads:[~2019-02-11 19:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-11 18:45 Package gmsh: best practise with test-suite? zimoun
2019-02-11 19:38 ` Christopher Baines
2019-02-11 19:56   ` zimoun [this message]
2019-02-11 20:21     ` Christopher Baines
2019-02-12  7:45       ` Ricardo Wurmus

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=CAJ3okZ3pFVbYSDiYo+ynZYyXMb8eLWTaT7QzJzsvPSOWQDuUUQ@mail.gmail.com \
    --to=zimon.toutoune@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=mail@cbaines.net \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.