[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Package gmsh: best practise with test-suite?

From: zimoun
Subject: Re: Package gmsh: best practise with test-suite?
Date: Mon, 11 Feb 2019 20:56:20 +0100

Hi Chris,

Thank you for your tip.

On Mon, 11 Feb 2019 at 20:38, Christopher Baines <address@hidden> wrote:
> zimoun <address@hidden> 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,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]