tests: Add 'with-environment-variable'.
authorLudovic Courtès <ludo@gnu.org>
Sat, 16 Mar 2019 14:11:29 +0000 (15:11 +0100)
committerLudovic Courtès <ludo@gnu.org>
Sat, 16 Mar 2019 17:15:09 +0000 (18:15 +0100)
commit22f95e028f038cee342f455dfc55bd32b804907c
treedade133425c4c41f26ffad0ecad315923db94dee
parent0848615300ec0693b2849e80103a13063fa4b190
tests: Add 'with-environment-variable'.

* tests/scripts.scm (with-environment-variable): Move to...
* guix/tests.scm (with-environment-variable): ... here.
* tests/build-utils.scm ("wrap-program, one input, multiple calls"):
Use it instead of 'setenv'.
guix/tests.scm
tests/build-utils.scm
tests/scripts.scm