tests: install: Abort when one installation step fails.
authorMathieu Othacehe <m.othacehe@gmail.com>
Sun, 22 Mar 2020 09:52:43 +0000 (10:52 +0100)
committerMathieu Othacehe <m.othacehe@gmail.com>
Sun, 22 Mar 2020 09:53:55 +0000 (10:53 +0100)
commit1550db6fd47f84672b5bf554be922b96da2be3d8
tree05d616d58529e8db96f553ca7c0837024cc13148
parente64ea84392ca85d1ef23ebc5e4c1ec759f29b8cd
tests: install: Abort when one installation step fails.

When marionette-eval calls fail in gui-test-program, the installation
continues which results in two scenarios:

- hang forever at the next marionette-eval call,

- keep going and start a broken installation, which is annoying because it
clears the terminal and hides the error.

Make sure that gui-test-program is exited with #f return code when one of the
marionette-eval calls fail.

* gnu/tests/install.scm (gui-test-program): Add a new macro
"marionette-eval*". Throw an exception when one on the marionette-eval calls
fail.
gnu/tests/install.scm