From: zimoun <zimon.toutoune@gmail.com>
To: Guix Devel <guix-devel@gnu.org>
Subject: Package gmsh: best practise with test-suite?
Date: Mon, 11 Feb 2019 19:45:02 +0100 [thread overview]
Message-ID: <CAJ3okZ2yUNko9h2rb630Hib=NtCWxu+JWRZ0GZA+=LvewhTBRw@mail.gmail.com> (raw)
Hi Guix,
I am working on packaging GetDP [1] the companion finite element solver of Gmsh.
[1] http://getdp.info/
GetDP depends on some part of Gmsh. So I have a working
gmsh-minimal-no-x package, turning off FLTK, OpenCascade and
non-necessary features.
Then the full test suite fails. As expected. :-)
Now they are all turned off with "#:tests? #f".
Which is okish... but I am not fully satisfied.
Well, the issue is that the tests are generated with this piece of CMake:
include(CTest)
file(GLOB_RECURSE TESTFILES
tutorial/*.geo demos/*.geo benchmarks/?d/*.geo benchmarks/extrude/*.geo)
foreach(TESTFILE ${TESTFILES})
# use relative path for cygwin/mingw (the pure win exe built with the mingw
# compilers does not understand a full cygwin-style path)
FILE(RELATIVE_PATH TEST ${CMAKE_CURRENT_BINARY_DIR} ${TESTFILE})
add_test(${TEST} ./gmsh ${TEST} -3 -nopopup -o ./tmp.msh)
endforeach()
What is the better?
a- Patch the CMakeLists.txt to generate only the right tests
b- Turn off all the tests
What do you think?
Thank you in advance for any comment.
All the best,
simon
next reply other threads:[~2019-02-11 18:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-11 18:45 zimoun [this message]
2019-02-11 19:38 ` Package gmsh: best practise with test-suite? Christopher Baines
2019-02-11 19:56 ` zimoun
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ3okZ2yUNko9h2rb630Hib=NtCWxu+JWRZ0GZA+=LvewhTBRw@mail.gmail.com' \
--to=zimon.toutoune@gmail.com \
--cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).