From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
To: Chris Marusich <cmmarusich@gmail.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: GNU Guix 1.3.0rc2 available for testing!
Date: Tue, 03 Aug 2021 10:41:32 -0400 [thread overview]
Message-ID: <875ywm7fqb.fsf@gmail.com> (raw)
In-Reply-To: <87im2vs5cd.fsf@gmail.com> (Chris Marusich's message of "Thu, 03 Jun 2021 01:46:42 -0700")
Hello Chris,
Chris Marusich <cmmarusich@gmail.com> writes:
> Hi Maxim,
>
> Maxim Cournoyer <maxim.cournoyer@gmail.com> writes:
>
>> Sorry for the delayed answer.
>
> No worries! I've waited even longer in replying to you now, so we're
> even. :-)
>
>> The go importer depends on a recent version of guile-lib (0.2.7), which
>> added a new #:strict argument to the HTML parser. We should probably
>> skip the test depending on the already available HAVE_GUILE_LIB Automake
>> conditional, like so:
>>
>> modified Makefile.am
>> @@ -457,7 +457,6 @@ SCM_TESTS = \
>> tests/git-authenticate.scm \
>> tests/glob.scm \
>> tests/gnu-maintenance.scm \
>> - tests/go.scm \
>> tests/grafts.scm \
>> tests/graph.scm \
>> tests/gremlin.scm \
>> @@ -505,6 +504,10 @@ SCM_TESTS = \
>> tests/uuid.scm \
>> tests/workers.scm
>>
>> +if HAVE_GUILE_LIB
>> +SCM_TESTS += tests/go.scm
>> +endif
>> +
>> if BUILD_DAEMON_OFFLOAD
>> SCM_TESTS += tests/offload.scm
>> else
>>
>> Could you give the above a try? Feel free to commit it if it works as
>> expected.
>
> I tested this, and it works. Thank you! I can now build the release
> (with this change) and run the tests (make check) successfully;
> tests/go.scm is just omitted from the tests to run.
>
> By chance, I noticed the following lines below what you added:
>
> if HAVE_GUILE_LIB
> SCM_TESTS += tests/go.scm
> endif
>
> if BUILD_DAEMON_OFFLOAD
> SCM_TESTS += tests/offload.scm
> else
> EXTRA_DIST += tests/offload.scm
> endif
>
>
> I guess that if we omit tests/go.scm from SCM_TESTS, it not only means
> that the test won't be run, but it also means the test won't get
> included in the tarball distribution ("make dist"). Is that right? It
> seems undesirable to omit this test from the distribution just because
> the machine on which the distribution was built might have lacked the
> library necessary to run the test. Someone who builds Guix from the
> distribution might actually have that library installed and thus be able
> to run the test. To ensure that this test always gets included in the
> distribution, perhaps we should also add it to EXTRA_DIST like so:
>
> diff -u a/Makefile.am b/Makefile.am
> --- a/Makefile.am 2021-05-11 11:09:31.000000000 -0700
> +++ b/Makefile.am 2021-06-02 12:55:06.134793001 -0700
> @@ -457,7 +457,6 @@
> tests/git-authenticate.scm \
> tests/glob.scm \
> tests/gnu-maintenance.scm \
> - tests/go.scm \
> tests/grafts.scm \
> tests/graph.scm \
> tests/gremlin.scm \
> @@ -505,6 +504,12 @@
> tests/uuid.scm \
> tests/workers.scm
>
> +if HAVE_GUILE_LIB
> +SCM_TESTS += tests/go.scm
> +else
> +EXTRA_DIST += tests/go.scm
> +endif
> +
> if BUILD_DAEMON_OFFLOAD
> SCM_TESTS += tests/offload.scm
> else
>
> What do you think?
Well observed! Makes sense to me. Feel free to push such change if you
haven't already.
Thank you!
Maxim
next prev parent reply other threads:[~2021-08-03 14:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-08 20:22 GNU Guix 1.3.0rc2 available for testing! Maxim Cournoyer
2021-05-09 16:25 ` Leo Famulari
2021-05-10 0:46 ` Maxim Cournoyer
2021-05-10 14:49 ` Leo Famulari
2021-05-12 11:03 ` Chris Marusich
2021-05-14 16:07 ` Maxim Cournoyer
2021-06-03 8:46 ` Chris Marusich
2021-08-03 14:41 ` Maxim Cournoyer [this message]
2021-08-27 19:00 ` Maxim Cournoyer
2021-08-30 23:06 ` Patched shebangs in Autoconf-provided scripts Ludovic Courtès
2021-08-31 2:47 ` Maxim Cournoyer
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=875ywm7fqb.fsf@gmail.com \
--to=maxim.cournoyer@gmail.com \
--cc=cmmarusich@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 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.