tests: Make builds less expensive.
authorLudovic Courtès <ludo@gnu.org>
Fri, 14 Jun 2019 19:26:22 +0000 (21:26 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 14 Jun 2019 19:57:39 +0000 (21:57 +0200)
commit03d76577b96ba81c9921eb3a297d42db8644280b
tree8814bcef3f082a98f853ca7bacf02a552a76a1d2
parent11b4a8716c65e8fe21e5975e764b3e14dbd8dcc4
tests: Make builds less expensive.

The switch to the reduced bootstrap broke build time assumptions made by
tests, notably the assumption that GNU-MAKE-BOOT0 was cheap to build.
This commit adjusts this to make these tests cheaper.

* gnu/packages/bootstrap.scm (%bootstrap-inputs-for-tests): New variable.
* guix/tests.scm (gnu-make-for-tests): New variable.
* tests/guix-environment.sh: Use GNU-MAKE-FOR-TESTS instead of
GNU-MAKE-BOOT0.  Remove test with FINDUTILS-BOOT0.
* tests/guix-package-net.sh (boot_make): Use GNU-MAKE-FOR-TESTS.
* tests/packages.scm ("GNU Make, bootstrap"): Likewise.
* tests/profiles.scm ("profile-derivation relative symlinks, two entries"):
Likewise.
* tests/union.scm (%bootstrap-inputs): Remove.
("union-build"): Use %BOOTSTRAP-INPUTS-FOR-TESTS instead of
%BOOTSTRAP-INPUTS.
gnu/packages/bootstrap.scm
guix/tests.scm
tests/guix-environment.sh
tests/guix-package-net.sh
tests/packages.scm
tests/profiles.scm
tests/union.scm