GNU bug report logs -
#58365
[PATCH 0/6] Support #:tests? in guile-build-system
Previous Next
Full log
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Fixes: <https://issues.guix.gnu.org/58337>
guile-build-system can't guess where the tests are located, so currently
it's opt-in, via #:test-script. After this patch series, it is
currently only used by guile-ffi-fftw, but other guile-build-system
packages that use SRFI-64 could potentially use it too (e.g.
guile-srfi-117, which is not packages or even released yet).
* First commit: package a test driver, for nicer output and for proper
exit status. I copied test-driver.scm to aux-files such that
test-driver.scm can be changed without worrying about rebuilds. OTOH,
it isn't modified that often, so that could be left out.
Also, copying test-driver.scm causes the following:
guix build: warning: failed to load '(gnu packages aux-files test-driver)':
no code for module (gnu packages aux-files test-driver)
hint: File
`/home/antipode/source-code/guix-master/gnu/packages/aux-files/test-driver.scm'
should probably start with:
(define-module (gnu packages aux-files test-driver))
Whatever code does this loading, should probably be modified to not load
things under aux-files.
Going by "git log", the upstream of this test driver is Guix itself.
* Second commit: add support for #:tests?, using the test driver.
* Third commit: use it in guile-ffi-fftw.
* Fourth and fifth commit: cleanup of guile-ffi-fftw.
* Sixth commit: adjust guile-ac-d-bus to new 'check' phase
Only the initial commit is required for adding support for tests.
I'll leave building dependencies to <https://qa.guix.gnu.org/>.
Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
This bug report was last modified 1 year and 194 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.