[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 01/01: tests: docker: Run a guest guile inside the docker container.
From: |
Mark H Weaver |
Subject: |
Re: 01/01: tests: docker: Run a guest guile inside the docker container. |
Date: |
Thu, 17 Jan 2019 17:20:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi Danny,
address@hidden writes:
> dannym pushed a commit to branch master
> in repository guix.
>
> commit 49ec5d88c5770ae49b45849cb691c8921ecf4ca7
> Author: Danny Milosavljevic <address@hidden>
> Date: Mon Jan 14 15:44:16 2019 +0100
>
> tests: docker: Run a guest guile inside the docker container.
>
> * gnu/tests/docker.scm (run-docker-test): Add parameters. Load and run
> docker container. Check response of guest guile.
> (build-tarball&run-docker-test): New procedure.
> (%test-docker): Use it.
> [description]: Modify.
[...]
> +(define (build-tarball&run-docker-test)
> + (mlet* %store-monad
> + ((_ (set-grafting #f))
> + (guile (set-guile-for-build (default-guile)))
> + (guest-script-package ->
> + (dummy-package "guest-script"
> + (build-system trivial-build-system)
This introduces a duplicate field initializer in the expanded 'package'
object, because the 'dummy-package' macro introduces its own
'build-system' field initializer. From (guix tests):
(define-syntax-rule (dummy-package name* extra-fields ...)
"Return a \"dummy\" package called NAME*, with all its compulsory fields
initialized with default values, and with EXTRA-FIELDS set as specified."
(package extra-fields ...
(name name*) (version "0") (source #f)
(build-system gnu-build-system)
(synopsis #f) (description #f)
(home-page #f) (license #f)))
If you need to use trivial-build-system, then I think you can't use the
'dummy-package' macro as it's currently implemented.
Regards,
Mark
- Re: 01/01: tests: docker: Run a guest guile inside the docker container.,
Mark H Weaver <=