tests: "make check-system" uses Guix built with (guix self).
authorLudovic Courtès <ludo@gnu.org>
Mon, 11 Nov 2019 21:28:46 +0000 (22:28 +0100)
committerLudovic Courtès <ludo@gnu.org>
Wed, 13 Nov 2019 22:26:35 +0000 (23:26 +0100)
commit887fd835a7c90f720d36a211478012547feaead0
treec62f3a640d529bc139a05234bb6f1ffdf45f1072
parentf041db8696c7e8073761af5aa8f7599eec1d5174
tests: "make check-system" uses Guix built with (guix self).

This is a followup to 7e6d8d366a61f951936ed83371877ce006f679f6.
It means that "make check-system" can run tests from (gnu tests install)
much faster because it does not need to build a full 'guix' package.

* gnu/ci.scm (channel-instance->package): Export.
* build-aux/run-system-tests.scm (tests-for-channel-instance): New
procedure, with code formerly in 'run-system-tests'.
(run-system-tests): Call 'interned-file' for SOURCE, and add call to
'tests-for-channel-instance'.
build-aux/run-system-tests.scm
gnu/ci.scm